You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "James Chaplin (Jira)" <ji...@apache.org> on 2022/06/05 23:13:00 UTC

[jira] [Commented] (WW-5173) Implement additional OGNL cache configuration controls

    [ https://issues.apache.org/jira/browse/WW-5173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17550254#comment-17550254 ] 

James Chaplin commented on WW-5173:
-----------------------------------

Hi Struts Developers.  An implementation for this item was provided in PR #528, for version 6.0.0 (a.k.a. 2.6).

It appears that the default implementations are working, but the extension point (dependency-injection) may still not be functioning.  While attempting to update some draft site documentation for the change, I was unable to get the extension point to work using a basic app (following the steps outlined in [https://struts.apache.org/plugins/plugins-architecture#extension-point-provided-by-the-core] ), with 6.0.0.

It is possible that I am (still) not configuring things for the extension point(s) correctly, even after the guidance provided by [~lukaszlenart] .  If anyone else can confirm that the extension point is working (or not), and the configuration steps used (if working), it would be appreciated.

Regards,

     James.

> 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
>
> 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.7#820007)