Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Old background images are displayed even after cleaning cache!

Started by Muut Archive 10 years ago · 4 replies · 268 views
10 years ago

Something very funky going on with my assets. So I have defined background images in my scss. Recently I swap images and left same name. After updating the site I can still see the old image instead of new. Now the funny part:
When I type the direct url to the image in the browser I will see old image. When I access the server from FTP, I can see new image (same path) ! It drives me crazy because this doesn't even make any sense. And yes, I did clean the cache completely.

Help!

10 years ago

What if you use another browser, or incognito mode?

10 years ago

if the direct URL to the image via the browser is showing the old image, then the webserver is probably sending header tags with this image to tell the browser that it's not changed, and to use the cached version if available. This is probably not a Grav issue, but more a webserver configuration or reverse proxy setting this settings.

10 years ago

@rhukster right. This might be my NGINX configuration. Let me have a look.

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1368 9 years ago
Archive · by Muut Archive, 9 years ago
2 940 9 years ago
Archive · by Muut Archive, 9 years ago
2 4069 9 years ago
Archive · by Muut Archive, 9 years ago
1 2960 9 years ago
Archive · by Muut Archive, 9 years ago
3 1125 9 years ago