Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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="http://mydomain.com/stylesheets/screen.css">

to

<link rel="stylesheet" type="text/css" media="all" href="http://mydomain.com/stylesheets/cc.2c251d9cae64435f25c60ee79fc472a4.screen,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 stackoverflow.com 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

1 Answer 1

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

share|improve this answer
1  
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

 
discard

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.