Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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 have a static index.html with css and images. I uploaded a fresh index.html with fixes but the content was not showing - the page/changes were not visible/refreshed. If I look into the source I can see that image paths has been changed into strange long "cache-like" paths.

E.g. from

<link rel="stylesheet" type="text/css" media="all" href="">


<link rel="stylesheet" type="text/css" media="all" href=",s+jquery,oprettyPhoto,s?123.css">

It is not browser's issue because the response in the console is the same.

How can I fix that?

UPDATE: I use mod_expires and mod_pagespeed.

share|improve this question

migrated from Apr 10 '11 at 10:12

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

Your server is obviously doing some optimization on assets served which probably includes some aggressive caching on HTML pages. A hard refresh doesn't help? – Marcel Apr 9 '11 at 22:57
nope... what do you mean by hard refresh? I restarted Apache but nothing changed. – xpepermint Apr 10 '11 at 7:05

OK... I see now... mod_pagespeed is causing problems. Somehow it does not refresh content.

share|improve this answer
Specifically, mod_pagespeed will cache static resources automatically. Also, please mark this answer as accepted! :) – Andrew M. Apr 10 '11 at 12:18
I cant accept it :) have to wait for some hours :). – xpepermint Apr 11 '11 at 20:49

Your Answer


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

Not the answer you're looking for? Browse other questions tagged or ask your own question.