How to clear your browser cache on a computer

How to clear your browser cache on a computer

Use your browser's Clear browsing data or Clear history option and select Cached images and files (or equivalent). On Windows and Linux the common shortcut is Ctrl+Shift+Delete; on Mac use Cmd+Shift+Delete. Confirm the action, restart the browser if a page still behaves oddly, and expect possible sign-outs from websites.

Why clear the browser cache and what changes to expect

The browser cache stores copies of images, scripts and other files to make pages open faster. Clearing it forces the browser to fetch fresh copies from the site, which often resolves display errors, outdated content and failed updates. Clearing cache does not usually delete account data stored by websites, but it can sign you out of some sites and remove locally cached site resources.

If you want to remove cookies as well but try to keep logins where possible, review this guide on Clear cookies without losing logins before you proceed.

Quick shortcuts and the role of a hard refresh

If you need a fast test before clearing everything, try a hard refresh. A hard refresh forces the browser to re-download page resources without clearing the full cache.

Shortcuts

Step-by-step: clear cache in major desktop browsers

Below are step-by-step instructions that work on most modern desktop and laptop installations. Each set of steps focuses on cached images and files so you avoid removing passwords unless you choose to.

Google Chrome (Windows, macOS, Linux)

  1. Open Chrome and click the three-dot menu in the top-right corner.
  2. Choose More tools > Clear browsing data, or press Ctrl+Shift+Delete (Cmd+Shift+Delete on Mac).
  3. In the dialog, set Time range to the period you want. To remove everything, choose All time.
  4. Check only Cached images and files (uncheck other boxes if you do not want to clear them).
  5. Click Clear data and wait for the operation to finish. Restart Chrome if the problem persists.

Mozilla Firefox

  1. Open Firefox, click the menu button (three horizontal lines), and choose Settings (or Options).
  2. Select Privacy & Security, scroll to Cookies and Site Data, and click Clear Data.
  3. In the dialog, check Cached Web Content. Leave Cookies and Site Data unchecked if you want to keep sign-ins.
  4. Click Clear and restart Firefox if necessary.

Microsoft Edge

  1. Open Edge and click the three-dot menu, then choose Settings.
  2. Go to Privacy, search, and services and find Clear browsing data.
  3. Click Choose what to clear, select Cached images and files, set the time range, and click Clear now.

Safari (macOS)

  1. Open Safari and from the Safari menu choose Preferences.
  2. Go to the Advanced tab and enable Show Develop menu in menu bar.
  3. From the Develop menu, choose Empty Caches. Alternatively, press Option+Cmd+E.
  4. To remove additional site data, use Safari > Preferences > Privacy > Manage Website Data, then remove selected data.

When to clear cache versus other options

Clearing cache is one tool among several. Use this quick comparison to decide the least disruptive option for your issue.

Checklist: what to do before and after clearing cache

Common mistakes and troubleshooting

These mistakes are frequent and easy to fix.

Worked example: site shows old layout after a theme update

  1. Open the site in an incognito/private window to confirm it is not a session or extension issue.
  2. Perform a hard refresh (Ctrl+F5 or Cmd+Shift+R). If the new layout appears, the problem was cached files.
  3. If not, clear cached images and files for All time in your browser, then reload the page.
  4. If the old layout still displays, clear cookies for that site (see Clear cookies without losing logins), sign in again, and test.
  5. As a last step, test in another browser or a different device; see Mobile cache steps if testing on mobile.

Closing: practical tips to minimize disruptions

Clear cache when you suspect stale resources, but take small steps: try a hard refresh first, clear only cached files when possible, and keep a checklist to avoid losing passwords or important data. If problems persist after these steps, testing in a private window or a different browser will narrow the cause before broader actions are necessary.