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

Deepak Dixit commented on OFBIZ-13126:
--------------------------------------

Hi [~abuomar] 

Could you please share more details?

 

As per trunk code, the following method uses cache 

org.apache.ofbiz.webapp.control.ConfigXMLReader.getControllerConfig(URL url) 

Reference,

[https://github.com/apache/ofbiz-framework/blob/272c7130b95f3e1bda75c27d2af79510df0abb23/framework/webapp/src/main/java/org/apache/ofbiz/webapp/control/ConfigXMLReader.java#L205]

 

> 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
>            Assignee: Jacques Le Roux
>            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)

Reply via email to