Caching issues

Whenever I change part of a website page and try to see the changes online, I cannot see the changes? I contacted my hosts and they said :

This is by design and is a part of the “optimised stack” we implement to speed up the website(s). If we remove it there will be a performance degradation on the site(s).

Having a look at the site you mention, here is the current caching policy:

==

location
~..(3gp|gif|jpg|jpeg|png|ico|wmv|avi|asf|asx|mpg|mpeg|mp4|pls|mp3|mid|wav|swf|flv|html|htm|txt|js|css|exe|zip|tar|rar|gz|tgz|bz2|uha|7z|doc|docx|xls|xlsx|pdf|iso)$
{

expires 1M;

==

Has anyone here found a way in these circumstances, to still see their changes online please?

Not online, localhost. IMHO where you should be developing and testing anyway.

If you don’t have one installed on your computer I strongly recommend that you do.

I develop locally, but I still check the live pages after I’ve updated, because I’ve been known to do the occasional daft thing like forget to upload a new image.

A hard refresh usually works, although I have different caching rules.

1 Like

How do you install localhost?

I do ctrl+f5, is that what you would call a hard refresh (Firefox).

There are several “one click install” packages like XAMPP and WAMP that will likely not be configured exactly the same as the live host, but they’re relatively easy to get set up and running and would be better than naught.

The hard refresh will work for clearing the browser cache but it sounds like your problem has more to do with server caching.

2 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.