David E Jones wrote:
Adrian Crum wrote:

Well, if the 'cache' user can always recreate the values from the given
key, it's not really a problem; just additional load.


I was thinking it would be helpful from the Webtools perspective. There are so many things cached in memory that can't be cleared unless OFBiz is restarted. In my scenario, you could go to Webtools to clear the ECA cache.


This is how it _should_ work, but the loading code needs to be refactored to reload it if it's not in the cache. That's how pretty much everything else works, it just needs to be done there. Then UtilCache can be used with a clear or timeout to reload just like we enjoy elsewhere.

True. I'll add "Refactor ECA loading to utilize UtilCache" to my list of things to do when I have nothing else to do. ;-)

Reply via email to