laxman954 / granule

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

Question on Caching #23

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Does Granule compile and minify the same set of JS files for each request or is 
it somehow cached?

Original issue reported on code.google.com by himanshu...@gmail.com on 20 Sep 2013 at 9:20

GoogleCodeExporter commented 8 years ago
Granule caches the combined file into the memory at the first request. 

to cache on the disk, set disk=true in /WEB-INF/granule.properties. It will be 
cached in <web-app context path>/granulecache/<id>.gzip.

Original comment by yannick.robin on 1 Oct 2013 at 5:03

GoogleCodeExporter commented 8 years ago
The property should be "cache=disk". See 
https://github.com/JonathanWalsh/Granule/blob/master/jsp-demo/web/WEB-INF/granul
e.properties

Original comment by aaron.bl...@projecta.com on 10 Oct 2014 at 11:21