I'm changing around my test site's CSS, and am noticing that when I make changes, and I refresh, nothing happens...for a while. Then, all of a sudden, 10 minutes later, it enacts the changes I made to the CSS. Any reason why this is? Can it be changed?

Thanks again!

Comments

solaas’s picture

Try hitting Ctrl + F5. That's called 'hard refresh'. It will skip the cache and load everything again.

Ray Seaman’s picture

Didn't work, unfortunately. I changed the background color to see if it would work. Nothing happened when I hard refreshed (once again, unfortunately.) Any more ideas?

Ray Seaman’s picture

I've improved the situation a bit by switching the cache settings from disabled to the medium setting and vice versa every time I want a true refresh. This still isn't exactly ideal, though.

lamojo’s picture

i'm looking for a solution where drupal postfixes the css file timestamp as a parameter to the css, so it always refreshes on change...

like:
<style type="text/css" media="all">@import "/files/css/style.css?20070921135559";</style>