How To Clear A Browser Cache
来源:互联网 发布:计算机网络 书籍 知乎 编辑:程序博客网 时间:2024/03/28 17:38
Before we start with explanations on how to clear a browser cache, we are going to look at the cache briefly. What is it? Why is it there in first place? The cache is a temporary storage on your computer. It is usually located on a hard drive but can be moved freely around, for instance to removable drives or even to the RAM. Page elements are stored in the cache whenever you visit a website. This is done to speed up the loading times on your next visit, or if you navigate to another page on the website.
A basic example. Say you view ten pages on Ghacks. Instead of having to download the static Ghacks logo ten times you only download it once from the server. The logo is loaded from cache when you open the other nine pages of the website. This saves bandwidth and connections to the server which speeds up the display of the website in the web browser.
The cache can be the source of problems as well. This is for instance the case if I change the Ghacks logo after it has been stored in your cache. Your browser may display the old logo even though a new one has been uploaded to the site. While it is usually not a problem for logos and such, it could very well be problematic if you get a “site maintenance” information which does not go away, even ifyourfriends are telling you that they can access the site again.
That’s why it is important to know how to clear the browser cache. Unfortunately, it is a different procedure with every Internet browser. This guide covers the five popular browsers Internet Explorer, Mozilla Firefox, Google Chrome, Opera and Safari.
How To Clear A Browser Cache
Internet Explorer 8, 9 and newer
- Press ALT+H, then Click Tools > Delete Browsing History
- Or, click Tools > Internet Options > Delete
- Or, open Start Menu, click Control Panel, select Internet Options > Delete
Mozilla Firefox 3.5, 4 and newer
- Click Tools > Options > Advanced > Network > Clear Now
- Or click Firefox > History > Clear Recent History
- Or, press Ctrl-Shift-Del
Make sure Cache is selected in the options. It may also be switch the time range to everything to make sure that everything that is currently stored in the cache gets deleted.
You can also clear the browser cache manually. It is usually not necessary but handy to know anyway.
Internet Explorer
- Windows XP: C:\Documents and Settings\username\Local Settings\Temporary Internet Files
- Windows 7, Vista: C:\Users\username\AppData\Local\Microsoft\Windows\Temporary Internet Files
Mozilla Firefox
- Windows XP: C:\Document and Settings\username\Local Settings\Application Data\Mozilla\Firefox\Profiles\code.default\Cache
- Windows 7, Vista: C:\Users\username\AppData\ Local\Mozilla\Firefox\Profiles\code.default\Cache
- Linux: /.mozilla/firefox/.default/Cache/
- Mac: ~/Users/username/Library/Caches/Firefox/
Profiles/code.default/Cache
Google Chrome
- Windows XP: C:\Documents and Settings\username\Local Settings\Application Data\Google\Chrome\
- Windows 7, Vista: C:\Users\username\AppData\Local\Google\Chrome\User Data\Default\Cache
- Linux: ~/.cache/google-chrome
- Mac: ~/Library/Caches/Google/Chrome
Opera
- Windows XP: C:\Documents and Settings\username\Local Settings\Application Data\Opera\Opera
- Windows Vista, 7: c:\Users\username\AppData\Local\Opera\Opera\application_cache\
- Mac: Check Menu > Help > About Opera.
- Linux: Check Menu > Help > About Opera.
Safari
- Windows XP: c:\Document and Settings\username\Application Data\Apple Computer\Safari
- Windows Vista, 7: C:\Users\username\AppData\Local\Apple Computer\Safari
- Mac: ~/Library/Caches/Safari/
Reference: http://www.ghacks.net/2011/04/23/how-to-clear-a-browser-cache/
- How To Clear A Browser Cache
- How to clear UIWebView cache?
- How to clear Java cache
- How to programmatically clear the filesystem memory cache in C++ on a Linux system?
- How To Clear BNE Cache (文档 ID 1075840.1)
- How do I clear my web browser's cache, cookies, and history?
- How to clear COMS
- 如何清空 XMLHTTP 的 缓存 . How to clear the cache of XMLHTTP
- How to Clear the Application Server Cache Without Shutting it Down
- How to clear the grid
- How to stream a webcam to a web browser in Ubuntu
- How to - Invoke the browser
- HOW TO FIND THE SESSION HOLDING A LIBRARY CACHE LOCK
- How to Make a Gesture-Driven To-Do List App Like Clear: Part 1/3
- QT23 how to open a website in a default user browser
- Microsoft Small Business Server SBS 2003: A Clear and Concise Administrator's Reference and How-To
- Microsoft Small Business Server SBS 2003: A Clear and Concise Administrator's Reference and How-To
- How can I get a FlowDocument Hyperlink to launch browser and go to URL in a WPF app?
- java克隆中String的特殊性
- erlang学习笔记
- quest启动就报错"QCC10000E -Unable to allocate environment handle" 修改path
- SQLite 入门教程(一)基本控制台(终端)命令
- Yt7589的专栏
- How To Clear A Browser Cache
- Ubuntu 10.10中Usb转串口的使用方法
- Public UTIs supported by Mac OS X v10.3
- vim
- 电脑运行慢解决妙招
- 谷歌李开复也会挨骂!这下中国网络真是问题不小
- SRM 设置DEBUG
- 新版本的SQL Azure发布了
- 常用正则表达式