Hero Background

Next-Gen App & Browser Testing Cloud

Trusted by 2 Mn+ QAs & Devs to accelerate their release cycles

Next-Gen App & Browser Testing Cloud

How to Hard Refresh on Windows

On Windows, you hard refresh a web page by pressing Ctrl + F5 (or Ctrl + Shift + R) while the browser window is active. This reloads the page while bypassing the cached copy, forcing the browser to download fresh HTML, CSS, JavaScript, and images straight from the server so you always see the latest version. It is the fastest way to confirm that a recent change, a new deployment, or an updated stylesheet has actually taken effect.

Below we cover what a hard refresh really does, the exact keyboard shortcuts for Chrome, Edge, and Firefox, two deeper cache-clearing methods, the macOS equivalents, and how to verify cached versus fresh behavior across browsers.

What Is a Hard Refresh?

To make pages load faster, every browser stores a local copy of the files a website sends — HTML, CSS, JavaScript, fonts, and images. This store is called the cache. The next time you visit, the browser reuses those cached files instead of downloading them again, saving bandwidth and time. The trade-off is that you can end up looking at an old version of a page even after the site has been updated.

A normal refresh (pressing F5 or clicking the reload button) reloads the page but is allowed to reuse those cached resources. A hard refresh is different: it instructs the browser to ignore the cache for the current page and re-request every file from the server. In other words, a normal refresh trusts the cache, while a hard refresh bypasses it. That cache-busting behavior is exactly why a hard refresh shows you the newest content when a regular refresh keeps serving stale assets.

  • Normal refresh (F5) — reloads the page, may reuse cached CSS, JS, and images.
  • Hard refresh (Ctrl + F5) — reloads the page and re-downloads its resources, bypassing the cache.
  • Clear cache — empties the stored files for every site, not just the current page.

Hard Refresh Shortcuts on Windows by Browser

The quickest way to hard refresh is a keyboard shortcut. On Windows, the universal combination is Ctrl + F5, which works across all major browsers. Most browsers also support Ctrl + Shift + R, and a reliable alternative is to hold Ctrl and click the Reload button in the toolbar. The list below lists the shortcuts that perform a hard refresh on Windows.

  • Google Chrome: Primary Shortcut — Ctrl + F5; Alternative Shortcut — Ctrl + Shift + R; Mouse Method — Ctrl + click Reload.
  • Microsoft Edge: Primary Shortcut — Ctrl + F5; Alternative Shortcut — Ctrl + Shift + R; Mouse Method — Ctrl + click Reload.
  • Mozilla Firefox: Primary Shortcut — Ctrl + F5; Alternative Shortcut — Ctrl + Shift + R; Mouse Method — Shift + click Reload.

A handy extra in Firefox is Shift + F5, which also forces a reload from the server. Whichever combination you use, make sure the browser tab is focused first — if your cursor is inside an input field or the address bar, the shortcut may not register.

Want the deeper, browser-specific walkthrough? See our dedicated guides on how to refresh in Chrome and how to hard refresh in Edge, which cover each browser's reload menu and cache options in detail.

Method 2 - Empty Cache and Hard Reload via DevTools

When a plain hard refresh still shows old assets, Chromium-based browsers (Chrome and Edge) offer a stronger option through Developer Tools. It empties the cache for the current page and then reloads, which is the most thorough page-level refresh available. Follow these steps:

  • Open the page you want to refresh in Chrome or Edge.
  • Open Developer Tools by pressing F12 (or Ctrl + Shift + I). Keep the DevTools panel open.
  • Right-click directly on the browser's Reload button in the toolbar.
  • From the menu, choose Empty Cache and Hard Reload.

The right-click reload menu only appears while DevTools is open, which is why step two matters. This method is the go-to for front-end developers and testers verifying that a freshly deployed stylesheet or script is being served rather than a cached copy.

Method 3 - Fully Clear the Browser Cache

If neither a hard refresh nor an Empty Cache and Hard Reload works, the next step is to clear the cache for every site. This is heavier-handed — you may be signed out of some pages and lose other cached data — but it guarantees a clean slate. On Windows, the shortcut to open the clear-browsing-data dialog is Ctrl + Shift + Delete in Chrome, Edge, and Firefox.

  • Press Ctrl + Shift + Delete to open the clear-browsing-data dialog.
  • Set the time range (for example, All time for a complete clear).
  • Tick Cached images and files. Leave cookies and history unticked if you only want to refresh assets.
  • Click Clear data, then reload the page normally.

The exact dialog and options differ slightly per browser. For a step-by-step, screenshot-led walkthrough on Edge specifically, see our guide on how to clear cache in Edge.

Why Hard Refresh Matters

For everyday users, a hard refresh fixes pages that look broken, misaligned, or outdated because an old stylesheet is cached. For developers and testers it is an essential everyday tool. When you ship a new CSS file or JavaScript bundle, the browser may keep serving the previous version until the cache expires — a hard refresh lets you confirm your change immediately rather than chasing a bug that does not exist.

  • Seeing updated CSS/JS — confirm that a new build, layout fix, or feature flag is actually live.
  • Cache busting — rule out the cache as the cause of a visual or behavioral bug during testing.
  • QA verification — validate that a deployment reached the browser before logging or closing a defect.

macOS Equivalents

If you switch between machines, the Windows shortcuts do not map directly to a Mac keyboard, which has no equivalent to Ctrl + F5. On macOS, use Cmd + Shift + R in Chrome, Edge, and Firefox to hard refresh. In Safari, hold Option and choose Reload Page from the View menu, or press Cmd + Option + R. The behavior is identical — the page reloads while bypassing the cache — only the modifier keys change.

  • Chrome / Edge / Firefox (Mac) — Cmd + Shift + R.
  • Safari (Mac) — Cmd + Option + R, or Option + Reload Page.

Safari hides its reload options a little differently from Chromium browsers. If you work on macOS regularly, our guide on how to refresh in Safari walks through the Develop menu and cache-emptying steps.

Common Mistakes and Troubleshooting

  • Old page persists after a hard refresh — a service worker or PWA cache is intercepting the request and serving its own stored copy. Use Empty Cache and Hard Reload, or unregister the service worker under DevTools → Application → Service Workers.
  • CDN still serving stale content — a content delivery network caches files at edge servers. Even a perfect local hard refresh cannot help until the CDN cache is purged or its TTL expires. Purge the CDN or test with a cache-busting query string.
  • Shortcut does nothing — the browser tab is not focused, or your cursor sits in the address bar. Click on the page body first, then press Ctrl + F5.
  • Confusing hard refresh with clearing cache — a hard refresh only affects the current page. To wipe data for all sites you must use Ctrl + Shift + Delete.
  • Using Mac shortcuts on Windows — Cmd + Shift + R does nothing on Windows; the correct combination is Ctrl + F5 or Ctrl + Shift + R.

Conclusion

Hard refreshing on Windows comes down to one reliable shortcut: Ctrl + F5 (or Ctrl + Shift + R) to reload a page while bypassing the cache. When that is not enough, escalate to Empty Cache and Hard Reload through DevTools, then to a full cache clear with Ctrl + Shift + Delete. Knowing the macOS equivalents and the role of service workers and CDNs rounds out your toolkit, and verifying across real browsers ensures the fresh version reaches everyone — not just your screen.

Frequently Asked Questions

What is the hard refresh shortcut on Windows?

The primary hard refresh shortcut on Windows is Ctrl + F5. In Chrome, Edge, and Firefox you can also press Ctrl + Shift + R, or hold Ctrl and click the reload button. Both force the page to reload from the server instead of the cache.

What is the difference between a normal refresh and a hard refresh?

A normal refresh (F5) reloads the page but may reuse cached CSS, JavaScript, and images. A hard refresh (Ctrl + F5) tells the browser to ignore those cached files and download fresh copies from the server, so you see the most up-to-date version of the page.

Does a hard refresh clear the entire browser cache?

No. A hard refresh only bypasses the cache for the current page and its resources. It does not empty your whole cache. To remove all cached data for every site, clear the browser cache from settings or use Ctrl + Shift + Delete on Windows.

What is the hard refresh shortcut on a Mac?

On macOS, the equivalent is Cmd + Shift + R in Chrome, Edge, and Firefox. In Safari, hold Option and choose Reload Page, or use Cmd + Option + R, since the Windows Ctrl + F5 combination does not apply to Mac keyboards.

Why does a hard refresh sometimes still show the old page?

If the old version persists, a service worker, PWA cache, or CDN edge cache is likely serving the stale copy. Use Empty Cache and Hard Reload from DevTools, unregister the service worker, or wait for the CDN to purge before re-testing.

How do I hard refresh specifically in Google Chrome?

In Chrome on Windows, press Ctrl + F5 or Ctrl + Shift + R. With DevTools open (F12), you can also right-click the reload button and choose Empty Cache and Hard Reload for the most thorough page-level refresh. Our refresh in Chrome guide covers every option.

How do I clear the cache in Microsoft Edge?

Press Ctrl + Shift + Delete in Edge to open Clear browsing data, tick Cached images and files, pick a time range, and click Clear now. For a full walkthrough with the exact menu paths, see our guide on clearing cache in Edge.

Related Questions

Test Your Website on 3000+ Browsers

Get 100 minutes of automation test minutes FREE!!

Test Now...

KaneAI - Testing Assistant

World’s first AI-Native E2E testing agent.

...

TestMu AI forEnterprise

Get access to solutions built on Enterprise
grade security, privacy, & compliance

  • Advanced access controls
  • Advanced data retention rules
  • Advanced Local Testing
  • Premium Support options
  • Early access to beta features
  • Private Slack Channel
  • Unlimited Manual Accessibility DevTools Tests