MervCodes

Tech Reviews From A Programmer

How to do a hard refresh for Chrome, Safari, Firefox, IE or Edge

1 min read

Browser Hard Refresh in Google Chrome, Safari, Mozilla Firefox, Internet Explorer and Microsoft Edge. A hard refresh forces your browser to re-download the page from the server instead of loading it from the local cache. This is essential when you've deployed changes and need to see the latest version.

Keyboard Shortcuts

Google Chrome

  • Windows/Linux: Ctrl + Shift + R or Ctrl + F5
  • Mac: Cmd + Shift + R

Mozilla Firefox

  • Windows/Linux: Ctrl + Shift + R or Ctrl + F5
  • Mac: Cmd + Shift + R

Safari

  • Mac: Cmd + Option + R

Note: You may need to enable the Develop menu first. Go to Safari > Preferences > Advanced and check "Show Develop menu in menu bar."

Microsoft Edge

  • Windows: Ctrl + Shift + R or Ctrl + F5

Internet Explorer

  • Windows: Ctrl + F5

When to Use Hard Refresh

The most common scenario is when you're a web developer and you've just deployed CSS or JavaScript changes to your website. Your browser may still be serving the old cached version. A hard refresh forces it to download the fresh files from the server.

If a hard refresh doesn't work, try clearing your browser cache entirely or opening the page in an Incognito/Private window.