26/3/2012 17:34:20
|
---|
|
Re: Boiler - let's call it 0.2 - Ready for testing!I would think we would cache results based on the template creation timestamp. There is no reason to build on every page if we don't have to. The purpose of the concatenator I wrote up is to put the weight of fetching the files on the server and not on the client.
If we cached it with a random filename - or even a logical filename based on its build time and what zone it is in, then we just cachebust it with the last cache clear timestamp value. If i recall correctly don't we store that info somewhere already? cachebust:
http://localhost/cache/templatename-corezone-built-123456.js?bust={timestamp}
http://localhost/cache/templatename-modulezone-built-912345.css?bust={timestamp}
|