[
https://issues.apache.org/jira/browse/WW-5173?focusedWorklogId=791682&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-791682
]
ASF GitHub Bot logged work on WW-5173:
--------------------------------------
Author: ASF GitHub Bot
Created on: 16/Jul/22 19:53
Start Date: 16/Jul/22 19:53
Worklog Time Spent: 10m
Work Description: JCgH4164838Gh792C124B5 commented on PR #573:
URL: https://github.com/apache/struts/pull/573#issuecomment-1186277808
Hello @yasserzamani . Thanks for the update.
I attached a sample application project (S2_StarterApp_1.zip) to the WW-5173
JIRA as a .zip file (it is just a struts2-archetype-starter Maven Archetype
project with an attempt to wire in a custom cache factory implementation).
Unfortunately, my IDE does not seem to have a breakpoint export facility, so I
put a comment in the `CustomOECFactory` class indicating where I had set the
major breakpoints in general. Hopefully that will be enough to work with (if
you have spare cycles to take a look), but if not, please let me know.
One other note, I think the recent naming changes for the DTD from 2.6 to
6.0 was causing issues, as I had to adjust the sample application configuration
to use 6.0.0 (rather than 6.1.0-SNAPSHOT) in order to successfully deploy it
for interactive debugging.
Issue Time Tracking
-------------------
Worklog Id: (was: 791682)
Time Spent: 1h (was: 50m)
> Implement additional OGNL cache configuration controls
> ------------------------------------------------------
>
> Key: WW-5173
> URL: https://issues.apache.org/jira/browse/WW-5173
> Project: Struts 2
> Issue Type: Improvement
> Components: Core
> Affects Versions: 6.0.0
> Reporter: James Chaplin
> Priority: Minor
> Fix For: 6.0.1
>
> Attachments: S2_StarterApp_1.zip
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> With Struts 2.6, there may be an opportunity to introduce some additional
> OGNL cache configuration capabilities. One idea is to provide an cache size
> control, and a toggle for an LRU cache mode. These configuration controls
> could be applied to the expression cache and BeanInfo caches independently.
> The new properties could be optional, with the framework using a standard
> default cache if the properties are not provided.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)