Tuesday, October 23, 2012

cache and no-cache in Firefox



In HTML, set no-cache between <head> and <.head> if you do not want to cache the website
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">


There is a small software mozilla_cache_viewer, you can download it from
http://www.nirsoft.net/utils/mozilla_cache_viewer.html 

So you can view the cache in detail after you install it. You can delete part of cache.
cache location is:
C:\Users\<username>\AppData\Local\Mozilla\Firefox\Profiles\gxiyxcl0.default\Cache 
Sometime AppData can not be seen, but you can see it by type this directory.

You can clear all cache in Firefox .
  1. At the top of the Firefox window, click on the Firefox button (Tools menu in Windows XP) and then click Options
  2. Select the Advanced panel.
  3. Click on the Network tab.
  4. In the Cached Web Content section, click Clear Now.

No comments:

Post a Comment