Understanding Cache – Why Can’t I See My Changes?

I made changes to my web page or website and don’t see the changes?

After you make a few changes in your WordPress content or your design, you may notice that nothing has changed.

A number of common factors can cause this behavior, such as: browser caching, server-side caching, caching plugins, and making changes in the incorrect location in the file system.

The Browser Cache

Sometimes when you first visit a web page, it takes a while to load. But then the next page you visit within that site doesn’t take quite so long. This is because – in an effort to be helpful – your web browser stores the web page information on your computer. In the future, the web browser reloads the web page data from your computer, not from the actual site. The place where this web page data is stored is called the cache. The cache is an essential way to optimize your web browsing experience.

Sometimes a problem can arise when you make a small change to your site, and the browser doesn’t recognize it as a significant change. Since the browser hasn’t registered your adjustment as an actual change, it opts to reload the exact same page that you previously looked at. The solution in this case is to clear or empty your browser’s cache.

Clearing the Browser Cache

Normally, to see the changes on your page, you click the Refresh button on the browser toolbar or press the F5 key on your keyboard. In many cases, this simply reloads the page without clearing the browser’s cache. Here are some techniques to wipe clean the browser’s cache, so that you will see the changes when your page reloads.

The way you clear the browser cache depends on the particular browser you are using. Here is how you clear the cache on a few common browsers:

In addition to clearing the cache, each browser may have a way of stopping or minimizing the caching of web pages. Using this technique will definitely slow down your web page viewing, and it isn’t a perfect solution, because some caching may still occur. However, in a small way it does still help. Check your internet browser’s help files for specifics on how to turn off the cache feature.

Server-side Caching

Be aware that PTOffice also provides caching plugins on the backend. Edits may become visible after some length of time when the cached version expires. You many need to tune your caching system in order to eliminate this issue.

Check Your Source

Sometimes even the very best web page designers, developers, and programmers make a mistake. It’s the little details that can mess things up. Let’s look at some of the most commonly overlooked details that happen when you aren’t paying attention.

Check the Address

Is the name and folder for the file you “fixed” the same as the one you are viewing? Look at the following two addresses (URLs).

  • wordpress/wp-content/themes/yourtheme/style.css
  • test/wordpress/wp-content/themes/yourtheme/style.css

In this case, you can probably see the difference, but when viewed in an address bar or in a text editor, you might miss the word test that specifies a specific folder location.

Check the Template

If you’re editing a template, are you sure that the page you’re viewing is being generated from that template? Remember that many templates contain very similar text. For example, a post header may appear on a single post page, an index page, a search page, or an archive page, to name a few.

See Template Hierarchy if you’re having trouble figuring out which template is in use.

Check Your Upload

When you make a change to a file, it is often on your computer’s hard drive, and you have to upload the file to your host server in order to view it on the internet. Did you actually upload it? Did you put it in the right folder? Is it really there? When overwriting the exact same file, it doesn’t always do a complete overwrite, so consider deleting the original from the host server and then uploading a new version, to make sure that the correct file is there in its entirety.

Test Yourself

Let’s say that:

a) You’re working with the correct file, and

b) It’s in the right place with the right name, but you still can’t see the changes you’ve made.

At this point, it’s time to contact us! Shoot us an email at support@ptoffice.com.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.