Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

chrome cache removal for single files

recently I had to remove my entire cache to be able to view a webpage I was working on. This is fine I guess but it could be improved by removing specific pages from the cache. the chrome.browsingData.remove, seemingly has no option for indicating individual pages for removal. I was wondering if this could be done externally, but I am not familiar with the chromium code. I was also wondering if there are any planned changes to the chrome.browsingData.remove implementation. Many thanks

like image 996
bmbigbang Avatar asked Aug 09 '12 10:08

bmbigbang


People also ask

How do I clear a single page cache in Chrome?

Here's how to clear the browser cache for just one web page: Open the webpage you want to clear the cache for, and go into Chrome Developer Tools. That's CMD+Option+I on a Mac, and CTRL+Shift+I or F12 on Windows, Linux, and Chromebooks. Click Empty Cache and Hard Reload in the list of options, and you're done.

What does clearing Chrome cache do?

Clearing the cache after using the computer will help maintain your privacy by clearing out any personal data you may have used while browsing. It also clears out any personal data that the websites you have visited keep.


2 Answers

To remove a single file cache enter its URL into browser and do hard refresh.

like image 89
Lukas Greblikas Avatar answered Oct 11 '22 20:10

Lukas Greblikas


If you are working on a webpage and wish to avoid caching (btw, it's recommended! :) You can do it today in Chrome DevTools. Go to Settings (the icon in the bottom-right corner) and click on it. Then, you will have an option 'disable cache' - mark it and you done.

Just don't forget to return this state when you done working as chrome will be faster with its caching schema.

like image 25
Ido Green Avatar answered Oct 11 '22 20:10

Ido Green