Clear Browser Cache

How to clear your browser cache

Reload to clear cache While building websites, I often tell my clients to clear their browser cache  (“CASH”) as changes are made during the development process. Often the response, is “How do I do that?”. I will explain here.

What is a browser cache?

A cache is a “container” or temporary location on your local computer that your web browser stores some files when you request a web page.

What is a browser cache for?

Your browser will store files that are consider to be “static” (they don’t change often) in order to speed up the delivery of a web page for you.  For example, images like a logo, favicon, buttons all may be cached so each time you visit a page on a website, these repeated images do not need to be requested from the Internet again. Other types of files that may be cached include html, CSS (style sheets) and JavaScript.  This is good – most of the time.

Issues with browser caches

During web development, caching can become an issue because static assets on a website change a lot while a website is being built. Files that I have changed may be stuck in my client’s browser cache. So I tell them to view a web page to see updates I have made, and they say they don’t see them. Not a big deal, and easy to fix. I just have to explain how to clear your cache.

Clearing a cached page

Most of the time I explain how to clear a single page out of a browser cache. Clearing your whole browser cache will empty it for all web pages on all websites. That’s not necessary for my purposes.

There are so many types of browsers and devices, they are not all the same. In general though, to clear a single page, this is what I do

1. HOLD DOWN YOUR SHIFT KEY ON YOUR KEYBOARD

shift key

2. CLICK THE RELOAD BUTTON IN BROWSER

That’s it! The page you are viewing should now be cleared from your Browser’s cache and you should see the web page updates I have made. I f not, do it again, sometimes files “stick in your cache”.

Comments are closed.