refactored the way http caching is controlled to get stricter conformity, where only all.js and all.css (and the statics) are cached.