Html 在哪里可以找到以前访问过的网页的缓存文件 — Google Chrome
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/30038460/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Where to find cached files of previously visited web pages — Google Chrome
提问by victor175
I am trying to retrieve the HTML files from visited web pages while surfing with Google Chrome. It should have been on the hard disk at some point, so it can be visualized, but I do not know where to even start.
我正在尝试在使用 Google Chrome 浏览时从访问过的网页中检索 HTML 文件。它应该在某个时候在硬盘上,所以它可以被可视化,但我什至不知道从哪里开始。
The problem is that I need to find some visited web pages that do not reside on the same URLs or are being changed after the moment of viewing. So the records in Chrome's history do not really help at all.
问题是我需要找到一些访问过的网页,这些网页不在相同的 URL 上,或者在查看后正在更改。因此,Chrome 历史记录中的记录根本没有帮助。
回答by anroesti
Files in your local cache
本地缓存中的文件
If you are lucky, then you might still find the sites in your cache. Depending on your operating system, Google Chrome stores your cache files in one of the following folders. You will need to fill in your user name where necessary.
如果幸运的话,您可能仍会在缓存中找到这些站点。根据您的操作系统,Google Chrome 会将您的缓存文件存储在以下文件夹之一中。您需要在必要时填写您的用户名。
- Mac OS X:
/Users/[USERNAME]/Library/Caches/Google/Chrome/
- Windows XP:
C:\Documents and Settings\[USERNAME]\Local Settings\Application Data\Google\Chrome\
- Windows Vista:
C:\Users\[USERNAME]\AppData\Local\Google\Chrome\
- Windows 7/8:
C:\Users\[USERNAME]\AppData\Local\Google\Chrome\User Data\Default\Cache
- Mac OS X:
/Users/[USERNAME]/Library/Caches/Google/Chrome/
- 视窗 XP:
C:\Documents and Settings\[USERNAME]\Local Settings\Application Data\Google\Chrome\
- 视窗:
C:\Users\[USERNAME]\AppData\Local\Google\Chrome\
- 视窗 7/8:
C:\Users\[USERNAME]\AppData\Local\Google\Chrome\User Data\Default\Cache
In order to look at the files, it is possible that you will have to add the file extensions yourself (.html
, .css
, etc.).
为了看文件,很可能你将不得不自己添加的文件扩展名(.html
,.css
,等)。
After a quick search, I also found this utility that lets you look at the files that are still in the cache more comfortably: ChromeCacheView.
经过快速搜索,我还发现了这个实用程序,它可以让您更轻松地查看仍在缓存中的文件:ChromeCacheView。
Google Search Cache
谷歌搜索缓存
If the website you are looking for is no longer in your local cache, the cache of Google (the search engine) might be of help. You can access a Google snapshot of the site by entering the URL of the site prefixed by cache:
into the search engine, like this: cache:www.example.org
如果您要查找的网站不再在您的本地缓存中,那么 Google(搜索引擎)的缓存可能会有所帮助。您可以通过cache:
在搜索引擎中输入以 为前缀的站点 URL 来访问该站点的 Google 快照,如下所示:cache:www.example.org
Archive.org
档案馆
If all else fails, do not forget to try Archive.org. Similar to the Google Cache, the website you are looking for might be stored here. Archive.orgalso keeps older versions of the same website, while Google just keeps the newest one.
如果所有其他方法都失败了,请不要忘记尝试Archive.org。与 Google 缓存类似,您要查找的网站可能存储在此处。Archive.org还保留同一网站的旧版本,而 Google 只保留最新版本。
回答by Vikas Thapliyal
I was able to locate html file that was cached in chrome, just has to follow below thread
我能够找到缓存在 chrome 中的 html 文件,只需遵循以下线程
Files in your local cache
本地缓存中的文件
Windows 7/8: C:\Users[USERNAME]\AppData\Local\Google\Chrome\User Data\Default\Cache
Windows 7/8:C:\Users[用户名]\AppData\Local\Google\Chrome\User Data\Default\Cache
I found close to 2700 files in Cache directory with random names and no extension, i then used notepad++ to find a keyword in all the files under Cache directory, I was able to find the stuff i was looking for.
我在 Cache 目录中发现了接近 2700 个文件名随机且没有扩展名,然后我使用 notepad++ 在 Cache 目录下的所有文件中找到一个关键字,我能够找到我要找的东西。
I hope this is helpful. I express my gratitude to the person who posted "Files in your local cache"
我希望这是有帮助的。我感谢发布“您本地缓存中的文件”的人