MozillaCacheView v1.66 - View the cache files of Mozilla/Firefox browsers
Copyright (c) 2007 - 2014 Nir Sofer

Related Utilities

  • VideoCacheView - Allows you to extract video files from the cache of your Web browser.
  • MyLastSearch - View your latest searches with Google, Yahoo, MSN, and others.
  • IECacheView - Internet Explorer Cache Viewer
  • MozillaHistoryView - View the list of visited web sites in Firefox/Mozilla/Netscape browsers
  • MozillaCookiesView - Cookies Manager For Mozilla/Firefox/Netscape Browsers

Description

MozillaCacheView is a small utility that reads the cache folder of Firefox/Mozilla/Netscape Web browsers, and displays the list of all files currently stored in the cache. For each cache file, the following information is displayed: URL, Content type, File size, Last modified time, Last fetched time, Expiration time, Fetch count, Server name, and more.
You can easily select one or more items from the cache list, and then extract the files to another folder, or copy the URLs list to the clipboard.

If you want to view the cache files of Internet Explorer, you can use this Internet Explorer Cache Viewer

System Requirements

This utility works on any version of Windows, From Windows 98 to Windows 8. You can use this utility even if Firefox/Mozilla is not installed on your system, as long as you have the entire cache folder that you want to inspect.

Versions History

  • Version 1.66:
    • Fixed to find the correct item when typing the string you want to search into the main List View.
    • Added secondary sorting support: You can now get a secondary sorting, by holding down the shift key while clicking the column header. Be aware that you only have to hold down the shift key when clicking the second/third/fourth column. To sort the first column you should not hold down the Shift key.
  • Version 1.65:
    • Added support for the new cache structure of Firefox 32.
  • Version 1.62:
    • Added 'Subfolder' column.
  • Version 1.61:
    • Fixed bug: MozillaCacheView failed to copy the cache files if 'Save the files in the directory structure of the Web site' option was turned on and the Web site used non-standard TCP port (Instead of port 80).
    • Fixed to display date/time values according to daylight saving time settings.
  • Version 1.60:
    • Added 'Load only files larger than...' and 'Load only files smaller than...' options. (In 'Select Cache Folder' window)
  • Version 1.57:
    • MozillaCacheView crashed on some systems while reading the cache files.
    • Fixed issue: The properties and the other windows opened in the wrong monitor, on multi-monitors system.
    • Added 'Auto Size Columns+Headers' option, which allows you to automatically resize the columns according to the row values and column headers.
  • Version 1.56:
    • Fixed issue: MozillaCacheView left multiple files under the temp folder when extracting files compressed with gzip.
  • Version 1.55:
    • MozillaCacheView now loads the cache items much faster and with less memory usage, especially if you have a large amount of items in the cache.
  • Version 1.52:
    • Fixed MozillaCacheView to detect the correct cache folder if the user changed it from Firefox config (browser.cache.disk.parent_directory).
  • Version 1.51:
    • Fixed bug: MozillaCacheView displayed only cache items in the last few days, even if the 'Load only cache files from the last xx days' option was turned off.
  • Version 1.50:
    • Added new options in the 'Select Cache Folder' window: Load only cache files from the last xx days, and Load only cache files in the following time range.
    • You can now stop the cache scanning by clicking the stop menu.
  • Version 1.40:
    • Added 'Open Cache Subfolder' option (for Firefox 4.x)
    • Added 'Open With' option.
    • Added 'Double-Click Action' option, which allows you to choose what to do when you double-click on cache item - Properties Window, Open File In Cache, Open URL In Browser, Open Cache Sub-Folder, or Open With...
  • Version 1.37:
    • The status bar now displays the total size of selected files in KB/MB. (Only existing files are accumulated)
  • Version 1.36:
    • Fixed to work properly with the cache of Firefox 4 (Beta).
  • Version 1.35:
    • Added 'Open Selected Cache File' option. When you use this option, the selected file is extracted into a temporary folder, and then it's open with the default file viewer. The temporary file/folders are automatically deleted when you close MozillaCacheView.
  • Version 1.31:
    • Added 'Add Header Line To CSV/Tab-Delimited File' option. When this option is turned on, the column names are added as the first line when you export to csv or tab-delimited file.
  • Version 1.30:
    • Fixed bug: /copycache failed to copy cache files stored inside _CACHE_001_, _CACHE_002_, and _CACHE_003_ files.
    • Fixed bug: For some Web sites (like Google Books), the 'Content Type' column displayed wrong value.
  • Version 1.27:
    • Fixed bug: MozillaCacheView failed to copy cache files because the filenames contained invalid file characters (?, :, *, |, and others).
  • Version 1.26:
    • Add /sort option for sorting the cache list that you save from command-line.
  • Version 1.25:
    • Added support for saving cache files from command-line.
  • Version 1.21:
    • Added new option in 'Copy Selected Cache Files': Update the modified time of the copied files according to modified time in the Web server.
  • Version 1.20:
    • Added support for cache filter. (Display only URLs which contain the specified filter strings)
  • Version 1.17:
    • Fixed bug: in some cases, MozillaCacheView crashed when loading the cache.
  • Version 1.16:
    • Added 'Hide Missing Cache Files' option.
    • Fixed bug: In some systems, MozillaCacheView didn't display all cache files.
  • Version 1.15:
    • New option in 'Copy Selected Cache Files To...': Save the files in the directory structure of the Web site.
  • Version 1.12:
    • Added AutoComplete to the cache folders combo-box
  • Version 1.11:
    • Added 'Cache Control' and 'ETag' columns.
  • Version 1.10:
    • New option: Remember the selected cache folder.
  • Version 1.09:
    • The dialog-boxes are now resizable.
  • Version 1.08:
    • The URLs in HTML report are now created as links.
  • Version 1.07:
    • Added AutoComplete to 'Copy Selected Files To'.
    • Fixed bug: The main window lost the focus when the user switched to another application and then returned back to MozillaCacheView.
  • Version 1.06:
    • Added support for saving as comma-delimited text file.
  • Version 1.05:
    • New column: Cache Name.
    • New column: Missing File.
    • New option: Mark Missing Cache Files.
    • Added new option:'Copy as new name if filename already exists'.
    • Added new option: 'Delete Selected Cache Files' (Works only for items that have a cache name).
  • Version 1.02:
    • Fixed the text-length limit problem in the cache folder combo-box.
  • Version 1.01:
    • Added filter by file type (application, image, text/html, video, and audio)
    • New Option: Show Zero-Lenth Files
    • New Option: Show Files With Error Server Response.
  • Version 1.00 - First release.

The Location Of Mozilla Cache Folder

The cache folder of Mozilla Firefox is located under C:\Documents and Settings\[User Name]\Local Settings\Application Data\Mozilla\Firefox\Profiles\[Profile Name]\Cache
The cache folder of SeaMonkey is located under C:\Documents and Settings\[User Name]\Local Settings\Application Data\Mozilla\Profiles\[Profile Name]\Cache
For other variants of Mozilla, you may find the cache folder under C:\Documents and Settings\[User Name]\Application Data\Mozilla\Profiles\[Profile Name]\Cache

Using MozillaCacheView

MozillaCacheView doesn't require any installation process or additional DLL files. Just copy the executable file (MozillaCacheView.exe) to any folder you like, and run it.
After you run it, the main window displays the list of files currently stored in the cache of the Mozilla/Firefox profile that you used in the last time. If you want to view the cache of another profile, simply use the 'Select Cache Folder' option (F9), and choose the desired cache folder.
You can select one or more cache files from the list, and than export the list into text/html/xml file ('Save Selected Items' option), copy the URL list to the clipboard (Ctrl+U), copy the entire table of cache files (Ctrl+C), and then paste it to Excel or to OpenOffice spreadsheet. You can also extract the actual files from the cache, and save them into another folder, You can do that by using the 'Copy Selected Cache Files To' option (F4).

Notice...

In order to watch the latest cache files, you must close all Windows of Firefox, because only when you do that, Firefox saves the cache index files into the disk.

Notice For Delete Option

When you delete files from the cache, MozillaCacheView delete the cache files, but it doesn't delete the reference to them in the cache index file. This means that even after you delete files from the cache, you'll still see them in the list, but the 'Missing File' column will be turned from 'No' to 'Yes'.

Command-Line Options

/stext <Filename> Save the list of all cache files into a regular text file.
/stab <Filename> Save the list of all cache files into a tab-delimited text file.
/scomma <Filename> Save the list of all cache files into a comma-delimited text file.
/stabular <Filename> Save the list of all cache files into a tabular text file.
/shtml <Filename> Save the list of all cache files into HTML file (Horizontal).
/sverhtml <Filename> Save the list of all cache files into HTML file (Vertical).
/sxml <Filename> Save the list of all cache files to XML file.
/sort <column> This command-line option can be used with other save options for sorting by the desired column. If you don't specify this option, the list is sorted according to the last sort that you made from the user interface. The <column> parameter can specify the column index (0 for the first column, 1 for the second column, and so on) or the name of the column, like "Content Type" and "Filename". You can specify the '~' prefix character (e.g: "~URL") if you want to sort in descending order. You can put multiple /sort in the command-line if you want to sort by multiple columns.

Examples:
MozillaCacheView.exe /shtml "f:\temp\1.html" /sort 2 /sort ~1
MozillaCacheView.exe /shtml "f:\temp\1.html" /sort "~Content Type" /sort "File Size"

/nosort When you specify this command-line option, the list will be saved without any sorting.
-folder <Cache Folder> Start MozillaCacheView with the specified cache folder.
/copycache <URL> <Content Type> Copy files from the cache into the folder specified in /CopyFilesFolder parameter. In the <URL> parameter, you can specify the URL of the Web site (for example: http://www.nirsoft.net) or empty string ("") if you want to copy files from all Web sites. In the <Content Type> parameter, you can specify full content type (like image/png), partial content type (like 'image') or empry string ("") if you want to copy all types of files.
/CopyFilesFolder <Folder> Specifies the folder to copy the cache files.
/UseWebSiteDirStructure 0 | 1 Save the files in the directory structure of the Web site. 0 = No, 1 = Yes
/UpdateModifiedTime 0 | 1 Update the modified time of the copied files according to modified time in the Web server. 0 = No, 1 = Yes
/NewNameIfExist 0 | 1 Copy as new name if filename already exists. 0 = No, 1 = Yes

Examples:
MozillaCacheView.exe -folder "C:\Documents and Settings\Administrator\Local Settings\Application Data\Mozilla\Firefox\Profiles\acf2c3u2.default\Cache"
MozillaCacheView.exe -folder "C:\Documents and Settings\Administrator\Local Settings\Application Data\Mozilla\Firefox\Profiles\acf2c3u2.default\Cache" /shtml c:\temp\mz.html
MozillaCacheView.exe /stext c:\temp\mz.txt

Copy Cache Examples:

  • Copy all cache files of www.nirsoft.net to f:\temp in the directory structure of the Web site:
    /copycache "http://www.nirsoft.net" "" /CopyFilesFolder "f:\temp" /UseWebSiteDirStructure 1

  • Copy all image cache files of www.nirsoft.net to f:\temp:
    /copycache "http://www.nirsoft.net" "image" /CopyFilesFolder "f:\temp" /UseWebSiteDirStructure 0

  • Copy all .png files from the cache to f:\temp:
    /copycache "" "image/png" /CopyFilesFolder "f:\temp" /UseWebSiteDirStructure 0

  • Copy all files from the cache to f:\temp:
    /copycache "" "" /CopyFilesFolder "f:\temp" /UseWebSiteDirStructure 0

Translating MozillaCacheView to other languages

In order to translate MozillaCacheView to other language, follow the instructions below:
  1. Run MozillaCacheView with /savelangfile parameter:
    MozillaCacheView.exe /savelangfile
    A file named MozillaCacheView_lng.ini will be created in the folder of MozillaCacheView utility.
  2. Open the created language file in Notepad or in any other text editor.
  3. Translate all string entries to the desired language. Optionally, you can also add your name and/or a link to your Web site. (TranslatorName and TranslatorURL values) If you add this information, it'll be used in the 'About' window.
  4. After you finish the translation, Run MozillaCacheView, and all translated strings will be loaded from the language file.
    If you want to run MozillaCacheView without the translation, simply rename the language file, or move it to another folder.

License

This utility is released as freeware. You are allowed to freely distribute this utility via floppy disk, CD-ROM, Internet, or in any other way, as long as you don't charge anything for this. If you distribute this utility, you must include all files in the distribution package, without any modification !

Disclaimer

The software is provided "AS IS" without any warranty, either expressed or implied, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason.

Feedback

If you have any problem, suggestion, comment, or you found a bug in my utility, you can send a message to nirsofer@yahoo.com
Download MozillaCacheView

 

 

 

MozillaCacheView is also available in other languages. In order to change the language of MozillaCacheView, download the appropriate language zip file, extract the 'mozillacacheview_lng.ini', and put it in the same folder that you Installed MozillaCacheView utility.

LanguageTranslated ByDateVersion
Brazilian PortuguesePaulo Guzmn 13/07/20131.60
DutchJan Verheijen 10/09/20141.65
French papoo 19/01/20141.61
Frenchskorpix38 12/01/20141.61 (jan2014)
Galician Xos Antn Vicente Rodrguez 26/12/2007 
German Latino auf WinTotal.de 17/10/20141.66
Greek geogeo.gr 12/11/20111.51
Hungarian Jaff (Oprea Nicolae) 20/03/2014 
Italian Alessandro Viscone 30/09/2011 
Italian Alessandro Grimaldi 30/01/2008 
Japanese Taira KIDA 19/02/20141.61
Polish localizr.net 21/12/2008 
Portuguese Brazil PapaiMark 26/02/2008 
Romanian Jaff (Oprea Nicolae) 20/03/20141.62
Russian A.Larionov, solokot 13/03/2014 
Simplified Chineserenda 03/08/2009 
Simplified Chinese Lewen- 17/09/2009 
SlovakMaro REGE 12/02/2011 
Spanish desga2 01/12/2007 
SwedishMikael Hiort af Orns 21/02/2012 
Traditional ChineseʨTu Jiong 16/03/2008 
Traditional Chinese o King 27/03/20091.21
ThaiԷ 25/03/2008 
TurkishHARUN ARI 23/08/20111.50
UkrainianVitaly Malyi 08/11/2011 
Valencian vjatv 05/01/2008