Saturday, September 10, 2016

Get back your browser cached content

Sometime you mess up your stylesheets, your javascripts and you realize that you forgot to commit the changes, so your life screws up. Actually, there is still one place you can look for help. It's your browser's cache (assuming that you're using Chrome).

1. In Chrome, go to chrome://cache, you will see all the links to cached files here.

2. Click on the one that you want, you will see a whole bunch of text and numbers

3. Open Chrome's Developer Tool, paste the following code into the javascript console:

4. Click on  the link "Left-click to download the cached file" appears on top of the page to download the cached file.