Open megawac opened 10 years ago
I'm worried that caching for 30 days is a bit long (mostly because this includes the JavaScript as it is 'static content'). I'll think about this pull request a bit more.
Ya, honestly I didn't think too much in to the period and probably add an option to set it in the config file. Would you like me to patch without the debug statement and an option in the config for the period.
Edit also don't the JS and css files get given a random hash suffix on compile? So that shouldn't be a concern
Set the cache headers on static resources for 30 days
Wrote this for my fork; figured you guys may be interested in this change
Edit - just noticed I forgot to remove a debug statement in caching - my bad