Sometimes when you visit a website and you see the website have some changes. But the website's functions are not working for you, because your web browser is caching the outdated website's resources: javascripts, stylesheets (css), images, etc...

What is Cache

Cache is a temporary storage that stores data in order to load user’s future requests for that data faster, so the next time users open it, the website / mobile app will be loaded much faster. With a website, your web browser will cache the website's resources such as: javascripts, stylesheets (css), images, and other media data...

What is the different between Cache and Cookies?

An HTTP cookie (also called web cookie, Internet cookie, browser cookie, or simply cookie) is a small piece of data sent from a website and stored on the user's computer by the user's web browser while the user is browsing. Cookies were designed to be a reliable mechanism for websites to remember stateful information (such as logging in, items added in the shopping cart in an online store). When you clear the cookies of an website, you will log out automatically.

So Cache and Cookies are different, when Cache is a temporary storage that stores the website resources such as: javascripts, stylesheets (css), images, and other media data. In some cases, you will need to clear both Cache and Cookies to make the website's functions working again.

How To Clear Cache

How to clear cache in Google Chrome

  1. Open Google Chrome, click the "Settings" icon (three vertical dots in the top right).
    clear google chrome cache
  2. Hover the mouse to "History". Select "History". Or you can press "Ctrl + H" to open "History" page.
    clear google chrome cache 2
  3. Click "Clear browsing data" in the left panel.
    clear google chrome cache 3
  4. Select the "Time range" you need. If you want to clear all cache, select "All time".
  5. Tick "Cached images and files" (uncheck "Cookies and other site data" if you only want to clear cache).
    clear google chrome cache 4
  6. Click "Clear Data"

How to clear cache in Mozilla Firefox

  1. Open Firefox. Click the "Menu" icon on the top right. Click "Library"
    clear firefox cache 1
  2. Click "History" in Library menu
    clear firefox cache 2
  3. Select "Clear Recent History..."
    clear firefox cache step 3
  4. Select the "Time range to clear", if you want to clear all cache, select "Everything". Check the "Cache" option, uncheck other options if you don’t want them to be deleted.
    clear firefox cache step 4
  5. Click "Clear Now". This action can’t be undone, make sure to review before clear your data.

How to clear browser cache in Opera

  1. Click the "Setting" icon at the top right corner of Opera web browser. Scroll down to find "Clear browsing data".
    clear opera cache step 1
  2. Select the "Time range" you need. If you want to clear all cache, select "All time".
  3. Tick "Cached images and files" (uncheck other options if you only want to clear cache).
    clear opera cache step 2
  4. Click "Clear Data". You also can choose "Advanced" tab for more options and further clean.
    clear opera cache step 3

How to clear cache in Internet Explorer 11

  1. Open Internet Explorer 11.
  2. Click the "Gear" icon to go to "Tools" menu on the top right of the web browser. Hover the mouse to "Safety" menu, select "Delete browsing history"… Or you can press "Ctrl + Shift + Del" instead.
    clear internet explorer cache 1
  3. Check the "Temporary Internet files and website files" option. Uncheck other options if you only need to clear cache. You also can keep cache of your favorite websites by checking the first options: "Preserve Favorites website data".
    clear internet explorer cache 2
  4. Click "Delete".

How to clear cache in Microsoft Edge

  1. Open Microsoft Edge. Click the "Settings" icon (three horizontal dots) in the top right of the windows. Select "History". You also can open History in Microsoft Edge by press "Ctrl + H"
    clear Microsoft Edge cache step 1
  2. In History menu, click "Clear history".
    clear Microsoft Edge cache step 2
  3. Check the option "Cached data and files", uncheck other options if you only need to clear cache in Microsoft Edge.
    clear Microsoft Edge cache step 3
  4. Click "Clear".

How to clear cache in Vivaldi Browser

  1. Open Vivaldi browser. Click the Vilvadi logo on the top left of the windows. Hover the mouse to "Tools" menu. Select "Delete browsing data". You can also do this action by pressing "Ctrl + Shift + Del".
    clear Vivaldi Browser cache step 1
  2. Choose the "Time range" of data and select the type of data you want to delete.
    clear Vivaldi Browser cache step 2
  3. Click "Delete".

Why Do We Clear Cache?

There are 2 main reasons why we clear cache:

  1. When website's functions you are visiting are broken for you. In this case, you should clear cookies also.
  2. You need more space on your Computer / Laptop / PC. So clear cache can help you save space.

Clear DNS Cache

Follow these steps to flush DNS Cache on Windows

  1. Open a DOS command window. To do this, click Start, click Run, type cmd, and then press Enter.
  2. At the command prompt, type the following flush DNS command and then press Enter:
    ipconfig /flushdns
  3. The DNS cache is now clear.

Follow these steps to flush DNS Cache on Mac

  1. Open a terminal window. To do this, click Applications, click Utilities, and then click Terminal.
  2. OS X Yosemite and later (OS X v10.10.4 or later):
    sudo killall -HUP mDNSResponder
  3. OS X v10.10 through v10.10.3
    sudo discoveryutil mdnsflushcache
  4. The DNS cache is now clear.

Flush DNS Cache in GOOGLE CHROME BROWSER

The Google Chrome web browser maintains its own internal DNS cache. To clear it, follow these steps:

  1. Open Google Chrome.
  2. In the address bar, type chrome://net-internals/#dns. Google Chrome displays a list of hosts in its internal DNS cache
  3. Click Clear host cache.
  4. In the address bar, type chrome://net-internals/#sockets.
  5. Click Close idle sockets, and then click Flush socket pools.

See more about Flush DNS Cache