springuser2014 / wro4j

Automatically exported from code.google.com/p/wro4j
0 stars 0 forks source link

Add disableCacheInDevelopment flag to settings #166

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Currently the cache is always enabled, even in DEVELOPMENT mode. Though there 
are more ways to trigger cache or/and model update, having 
disableCacheInDevelopment flag could be useful in some use-cases.

Original issue reported on code.google.com by alex.obj...@gmail.com on 24 Jan 2011 at 9:25

GoogleCodeExporter commented 9 years ago

Original comment by alex.obj...@gmail.com on 24 Jan 2011 at 9:29

GoogleCodeExporter commented 9 years ago
A flag, called disableCache, has been added to WroConfiguration. It can be 
configured through WroFilter init-param and it can be true only in DEVELOPMENT 
mode.

Original comment by alex.obj...@gmail.com on 24 Jan 2011 at 9:30

GoogleCodeExporter commented 9 years ago
One thing to note is that if you have the cacheUpdatePeriod set to anything 
other than "0" then the items will still get cached since that is set in the 
"getSchedulerRunnable" method in WroManager.java.

Original comment by unimon...@gmail.com on 15 Feb 2011 at 12:25

GoogleCodeExporter commented 9 years ago
Thanks for pointing this out. I'll fix it for the next release

Original comment by alex.obj...@gmail.com on 15 Feb 2011 at 7:56