JS and CSS caching issue: possibly .htaccess related
Posted
by
adamturtle
on Pro Webmasters
See other posts from Pro Webmasters
or by adamturtle
Published on 2011-06-21T19:54:22Z
Indexed on
2011/06/22
8:31 UTC
Read the original article
Hit count: 390
I've been using the HTML5 Boilerplate for some web projects for a while now and have noticed the following issue cropping up on some sites.
My CSS and JS files, when loaded by the browser, are being renamed to things like:
ce.52b8fd529e8142bdb6c4f9e7f55aaec0.modernizr-1,o7,omin,l.js
…in the case of modernizr-1.7.min.js
The pattern always seems to add ce.
or cc.
in front of the filename. I'm not sure what's causing this, and it's frustrating since when I make updates to those files, the same old cached file is being loaded. I have to explicitly call modernizr-1.7.min.js?v=2
or something similar to get it to re-cache. I'd like to scrap it altogether but it still happens even when .htaccess is empty. Any ideas? Is anyone else experiencing this issue?
© Pro Webmasters or respective owner