Error Codes Wiki

Browser Cache Clearing — Hard Refresh, Clear Cache, and Cache Bypass Methods

Informationalgeneral

Overview

Complete guide to clearing browser cache including hard refresh shortcuts, clearing specific site data, DevTools cache bypass, and when cache clearing is needed.

Key Details

  • Browser cache stores downloaded resources (HTML, CSS, JS, images) locally for faster page loads
  • Cache can serve stale content after website updates, causing display issues
  • Hard refresh (Ctrl+Shift+R) reloads the page bypassing the cache for the current page
  • Clearing all cache removes stored data for all websites — may require re-login to sites
  • DevTools 'Disable cache' only works while DevTools is open and only for that tab

Common Causes

  • Website updated but browser serving old cached version of CSS, JavaScript, or images
  • Corrupted cache entries causing page rendering errors or script failures
  • Cache filling up disk space (browsers can use several GB for cache)
  • Service worker cache not updated, serving old version of a PWA
  • CDN cache serving stale content (not a browser issue but appears as one)

Steps

  1. 1Hard refresh: Ctrl+Shift+R (Windows/Linux) or Cmd+Shift+R (Mac) to bypass cache for current page
  2. 2Clear all cache: Ctrl+Shift+Delete (Windows) or Cmd+Shift+Delete (Mac) > select Cached images and files
  3. 3Clear specific site: Chrome > F12 > Application tab > Storage > Clear site data (or right-click the lock icon > Site settings > Clear data)
  4. 4DevTools cache bypass: F12 > Network tab > check 'Disable cache' (active only while DevTools is open)
  5. 5Clear service worker cache: DevTools > Application > Cache Storage > right-click > Delete
  6. 6Chrome: chrome://settings/clearBrowserData for detailed cache clearing options

Tags

cachehard-refreshclear-cachebypassstale-content

Related Items

More in General

Frequently Asked Questions

Clearing only 'Cached images and files' will not log you out. Clearing 'Cookies and other site data' will log you out. Be selective when clearing browser data.