How to Hard Refresh Your Browser

Author:
Marcus Harrison
Marcus HarrisonSenior Front-End Developer
How to Hard Refresh Your Browser

What is Browser Cache?

The browser cache is a temporary collection of files from web pages you’ve previously visited stored locally on your computer. These files often consist of HTML, CSS, JavaScript and various media files. Having local copies of these documents helps facilitate faster load times during subsequent visits to the sites you frequent.

Why Clear Browser Cache?

Ideally, the browser should detect if a newer file exists on a page and update its cache accordingly by downloading only what it needs. Unfortunately, this doesn’t always occur so, new changes or updates on a website may not be immediately visible to a user with the site cached.

We Promise We Made Those Changes.

In the web design world, this often presents issues for our clients who are expecting to see their changes live on the site. To reconcile this issue, a hard refresh is needed to clear out the browser cache. This will trigger the page to be re-downloaded fresh from the server in its entirety. The guide below details how to quickly perform a hard refresh in various browsers and operating systems.

 

(Click for printable PDF version)

How to Clear Cache on Mobile.

For reasons unknown to the internet, clearing cache on your mobile device is much more involved. I’ve detailed the steps required to clear cache on the most popular mobile browsers.

Mobile Safari

  1. Launch the "Settings" app.
  2. Scroll down the menu and select "Safari."
  3. Scroll down and select "Clear History and Website Data."
  4. Confirm by tapping "Clear History and Data" from the pop-up window.
  5. Relaunch the Safari app.

Mobile Chrome (iOS and Android)

  1. Click on the menu button (three dots).
  2. Click on “Settings” in the menu.
  3. Click on “Privacy” in the menu.
  4. Click on “Clear Browsing Data.”
  5. Select "Cookies,  Site Data" and “Cached Images and Files” from the list.
  6. Click on “Clear Browsing Data” at the bottom.
  7. Relaunch Chrome.

Having any issues clearing your cache? Drop us a comment below. For more tips check out some of our other blogs.