Expiration of long caches: do I need to rename the background file img, as well as css?

I have relatively long cache expiration headers and made some changes to my site. I will change the names of the .css and .js files to prevent the loading of old files from the user's cache.

Do I also need to rename the background images (which also changed) that are referenced in css? I think yes, but thought I would check ...

+3
source share
1 answer

Yes - To ensure that browsers view new image files in this scenario, you must also change the image file names.

+1
source

All Articles