You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (Jira)" <ji...@apache.org> on 2024/11/03 08:14:00 UTC

[jira] [Commented] (OFBIZ-13126) Controller xml configuration is not cached

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

Jacques Le Roux commented on OFBIZ-13126:
-----------------------------------------

Thanks Omar,

That's an interesting point. I'll look at it...

> Controller xml configuration is not cached
> ------------------------------------------
>
>                 Key: OFBIZ-13126
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-13126
>             Project: OFBiz
>          Issue Type: Bug
>          Components: ALL COMPONENTS
>    Affects Versions: Upcoming Branch
>            Reporter: Omar Abu-Arab
>            Priority: Major
>              Labels: easyfix, performance
>
> the following method is supposed to cache the controller configuration 
> in  CONTROLLERCACHE static variable but it does not.
> org.apache.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(URL url) 
> I tried using it with Java ConcurrentHashMap it worked and gave a nice performance gains



--
This message was sent by Atlassian Jira
(v8.20.10#820010)