2

CSS/JS caching vs. local browser cache

http://drupal.org

On a recently upgraded client's site (live site), we are having a problem with css modifications not getting refreshed. Each time I make a change and my client tries it, he sees it the old way until he clears his browser cache and refreshes the page. I've tried with caching turned on and with it turned off in Drupal - same result.

I was told that Drupal adds a unique number to the end of the css/js file names to ensure that they are loaded fresh each time. Is that true? If so, I'm not seeing that when I look "under the hood" using Firebug. Is that done with caching ON or OFF? ...not that that matters, coz I've tried it both ways.

My client says he can't expect all users who have visited his site before we made changes to automatically know they need to clear their local browser cache and refresh the various pages they visit - and he's absolutely right. Can anyone offer a solution?

Read »
Created by Dplanet 2 years 5 weeks ago
Category: Tutorials   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for CSS/JS caching vs. local browser cache

Recent comments