Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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:


…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?

share|improve this question

migrated from stackoverflow.com Jun 22 '11 at 6:21

This question came from our site for professional and enthusiast programmers.

are you using the build script? – Gerben Jun 21 '11 at 19:58
Is this all browsers, or one in particular? – paulmorriss Jun 22 '11 at 11:52
Are you using any extensions that mess with JS or CSS files? I know some of the CSS Reload extensions will 'overwrite' previous versions of CSS files in-memory with renamed versions like this. – Mufasa Jun 23 '11 at 21:24

Going by the accepted answer to this question, do you have mod_pagespeed enabled on your server?

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.