Background
I want to access the Chrome and Firefox cache in my Cocoa application. I need to get HTML pages to access pages recently. Safari - a piece of cake - all this information is available in SQLite data warehouses, but not in Chrome and Firefox.
Problem
For Firefox, the cache is in /Library/Cache/Firefox/Profiles/xxx.default/Cache with the file names _CACHE_001_ _CACHE_002_ _CACHE_003_ and _CACHE_MAP_
For Chrome, the cache is in / Library / Caches / Google / Chrome / Default / Cache with the file names data_0 data_1 data_2 and data_3
What i tried
The only article I can find sheds light on what format these caches are in here . He recommends the Cache Viewer tool, but does not explain how this can be done programmatically.
Questions
firefox google-chrome caching cocoa macos
John gallagher
source share