I want to clear the cache for a specific domain name in Chrome. Is there an extension or other method that I can use to do this?
UPDATE: As of Chrome version 110.0.5481.104, you can perform the following steps:
Chrome Developer Tools >
Application tab >
Storage in left tree > Select the data items to clear, then click
Clear site data.
This may be a quicker/simpler way:
- Press F12 to open Chrome Developer Tools (will pop up from bottom)
- Click settings "gear" icon in top-right corner
- Under Network (previously General) check Disable cache
- Reload page and re-enable caching by un-checking this box
After opening up the developer tools (usually by pressing F12) Click + Hold on the "Reload Page" button. From the popup list, choose "Empty Cache and Hard Reload".
Not sure this clears the cache for the entire domain. But probably satisfies 90% of the use cases of people that visit this SE question.
Note: In some cases this will NOT open the popup list. This is because the page isn't cached at that time, so the menu is not invoked.
Here's how to delete Chrome's cookies selectively by domain or subdomain:
- go to
- type the domain name in the search box
- click delete
More details here:
This can't however select cookies by web folders, e.g.
To delete all data (cache + cookies) for all subdomains of a domain:
- Go to
- Type domain name in search box (not the one at the top, the small search box top right)
- Click the trash icon button for each result
- Click 'Remove All Shown' button
This will delete all site data for those sites, including cookies and cache.
Nice thing about this technique is that you can easily clear site data for all subdomains of a domain.
The other way to access this setting screen is:
Three dots menu > Settings > Advanced (at bottom) > Content Settings (under Privacy and Security) > Cookies (yes, name is misleading) > See all cookies and site data
Wrench -> Preferences -> Under the Hood -> Use DNS pre-fetching to improve page load performance
Disable it - thus dumping the whole application cache - reload the affected page - and then re-enable. If this happens often or doesn't clear the issue, some cache upstream from chrome is the problem and you should probably leave chrome's disabled.
Selective invalidation of an application layer cache (which is done strictly for application speed) since chrome has "no business" taking over for the system is might be an answer to some issue, but it isn't a very good answer.
(Lest you get huffy about my "no business" statement, I use pre-fetching myself as I like the zippiness, proper or not)
Webpack was caching a previous project for me and I need parts of the caching to work so I couldn't use incognito. The top 3 solutions didn't work for my case. What did work and was quick enough to implement was clicking Resources tab in Developer tools, unfolding Cache Storage, and right-clicking to delete the cached data.
Just clear cache for one site (but leave cookies, local storage, session storage) - F12 to open DevTools, then click back to main window, right click on refresh button, "Empty Cache and Hard Reload"
Clear everything for one site (cache, cookies, local storage, session storage) - F12 to open DevTools, Application tab, "Storage" item in the left menu, click the "Clear site data" button