How to Clear Cache Without Clearing History
Clearing your cache without clearing your history is both possible and easy: all major browsers separate cached files (temporary copies of images, scripts, and page data) from browsing history, cookies, and saved logins, and each type can be cleared independently. The exact wording depends on the browser and version, but the principle is the same everywhere. In Chrome, Edge, and Firefox, you open the clear-browsing-data dialog, set the time range to what you want, and leave the “Browsing history” checkbox unticked while ticking only “Cached images and files.” Safari works a little differently and needs a separate approach. This guide walks through the menus for each browser, then covers the traps that wipe history anyway and what to do if it happens.
What You'll Need
- A desktop or mobile browser you can access the settings menu in (Chrome, Edge, Firefox, or Safari).
- A few minutes and, ideally, no other browser tabs in the middle of something important, since cache clearing can log you out of some sites.
- Your restored-history plan in case something goes wrong: know whether your browser syncs history to an account, because that is what lets you recover it.
Step-by-Step
- Understand what you are deleting. The cache stores local copies of page assets to speed up loading. History is the record of pages you visited, with timestamps and titles. Cookies and site data are separate again and hold logins and preferences. Only the cache needs to go, so make sure you tick nothing else.
- Open the clear-data dialog. In Chrome and Edge, press Ctrl+Shift+Delete on Windows or Linux, or Command+Shift+Delete on Mac. On mobile, tap the three-dot menu, then Settings, then Privacy and security, then Clear browsing data. In Firefox, use Ctrl+Shift+Delete / Command+Shift+Delete, or open the menu, choose History, then Clear recent history.
- Pick a time range that covers everything. Choose “All time” if you want a full clean. If you only need to fix one broken site, choose “Last hour” or “Last 24 hours” so you disturb less. The range applies to every item you tick, so a narrow range will also limit the cleanup.
- Tick only “Cached images and files.” In Chrome and Edge this appears as “Cached images and files” in the list. Leave “Browsing history,” “Cookies and other site data,” “Passwords,” and “Autofill form data” unticked. In Firefox, open the “Details” list and tick only “Cache”; do not tick “Browsing & download history.”
- Confirm and wait. Click “Clear data” or “Clear now.” The dialog usually closes with no confirmation message, and the button may briefly show a spinner. A full cache clear on a heavily used profile can take a little while; let it finish before closing the browser.
- Verify your history survived. Open the history page (Ctrl+H / Command+Y in Chrome, Edge, and Firefox) and check that recent entries are still listed. Then reload a site you use often to confirm the cache is rebuilding correctly.
- Handle Safari separately. Safari has no checkbox for “cache only” in its normal clear-history dialog: “Clear History…” removes browsing history and, depending on the option you choose, may also remove other data. To clear cache without touching history in Safari, first enable the Develop menu (Safari > Settings > Advanced > “Show features for web developers” or “Show Develop menu in menu bar,” depending on version), then choose Develop > Empty Caches. On iPhone and iPad, Safari does not offer a cache-only option, so use Settings > Safari > Advanced > Website Data and remove data for specific sites rather than “Clear History and Website Data.”
- Clear one site at a time if you are cautious. All major browsers let you clear data per site. In Chrome, go to Settings > Privacy and security > Third-party cookies or Site settings, find the site, and remove its stored data. This sprays far less collateral damage than a global clear.
- Restart the browser. Close all windows and reopen. This forces the browser to rebuild cache files cleanly and makes it obvious whether a problem you were trying to fix is actually gone.
Common Mistakes
- Ticking “Cookies and other site data.” This signs you out of most sites and can erase preferences saved in cookies. It does not delete history, but it often feels like it did because sites look reset.
- Using “Clear browsing data” with everything preselected. Some browsers remember your last selection. Recheck the boxes each time rather than clicking through on autopilot.
- Confusing “Clear History” with “Clear Cache” in Safari. Safari’s Clear History dialog can remove history, cookies, and other data together. Use the Develop > Empty Caches path instead.
- Clearing while a download or form is in progress. Clearing cache mid-session can break an upload or lose unsaved form content on some sites.
- Expecting a speed boost that never comes. Clearing cache often makes the next few page loads slower, not faster, because everything has to be downloaded again.
- Thinking sync will restore a cleared cache. Sync syncs history, bookmarks, and passwords, not the cache. Clearing cache on one synced device does not affect history on the others.
Tips
- Use a hard reload (Ctrl+Shift+R or Command+Shift+R) when only one page looks stale. It bypasses the cache for that page without touching anything else.
- Keep a habit of clearing cache on a schedule, such as monthly, rather than only when something breaks.
- If you want to keep history but shrink its footprint, browsers have a separate option to delete history older than a chosen period while leaving the cache alone.
- On shared computers, clearing cache is not a privacy measure. History and cookies are what reveal previous activity.
- Sign in to your browser account before clearing so history stays backed up in the cloud in case it is ever removed by accident.
Troubleshooting
If your history appears to be gone, first check that you are in the right profile: browsers support multiple profiles, and clearing data in one profile does not affect another. Look at the profile icon in the toolbar. Second, check the history page’s date range and search filters; a leftover search term can make history look empty. Third, if you are signed in and sync is on, history from other devices may still appear once sync finishes.
If a site still shows stale content after clearing cache, the cache may be held by a service worker or by a content delivery network rather than local storage. Unregister the site’s service worker in the browser’s developer tools, or try the site in a private window to confirm. If clearing the cache did not fix a login problem, the culprit is usually cookies, not cache, and clearing those will sign you out, so weigh that decision.
If the clear-data dialog appears greyed out or buttons do nothing, close all other browser windows, check for a pending browser update, and restart the browser. On managed work or school devices, policy settings can block clearing browsing data; in that case the setting is controlled by the administrator, and the option may not be available at all.
Frequently Asked Questions
Does clearing cache delete browsing history?
No, not on its own. Cache and history are stored separately, and ticking only the cache option leaves history intact. Problems arise only when other boxes, like cookies or history, are also ticked.
Will clearing cache log me out of websites?
Usually not, because logins are stored in cookies, not the cache. However, some sites store session tokens in storage that is cleared alongside cached files, so a few logouts are possible.
How do I clear cache without clearing history in Safari?
Enable the Develop menu in Safari’s settings, then choose Develop > Empty Caches. Avoid the Clear History option, which affects history and possibly other data.
Does clearing cache on my phone affect my computer?
No. Cache is stored locally on each device. Syncing does not transfer cache files, so clearing one device has no effect on another.
Can I clear cache for just one website?
Yes. Open the browser’s site settings, find the specific site, and remove its stored data. This is the safest option when you only need to fix one page.
Why is my history missing after I cleared cache?
Most likely another checkbox, such as browsing history or cookies, was ticked at the same time, or you cleared data in a different browser profile. History cannot be restored locally unless it was synced to an account.