When we prepare our site for the presentation of the audience, we try to work out every little thing. A suitable font, design of social buttons, a logo and a combination of colors – all this should be thought out and implemented.
However, whatever the visual design, the technical characteristics are much more important, and one of the most significant – speed. It is to improve this parameter that webmasters customize caching.
Acting as ordinary users, we are not faced with the problems of setting up caching of our resource. However, situations often arise when it is necessary to know how to clear the browser cache. About when and how to do it will be discussed in this article.
What is browser cache
Traveling across the expanses of the World Wide Web, we visit a huge number of sites where we view text, pictures, videos. When a web page is opened in the browser for the first time, all information (text and graphic) is downloaded from the server where the resource is located.
If the webmaster has configured caching, then after the first viewing, the data will be saved in a special section on the user’s hard drive (this section is called the browser cache).
You can evaluate the opportunities offered by the cache by observing the most common phenomenon – downloading the main page of a resource using the mobile Internet. Type in the search for any query and click on one of the links. When the web resource page loads, go back and click on the link again.
The home page of the site will appear on the screen much faster. The reason for this is as follows: the browser downloads data from the cache, which is located in the memory of your device, which, you see, is much closer than the server in all lands.
It is also worth noting that not all of the site content is cached. Cache settings are set by each webmaster at their own discretion. If the information resource is created using CMS (WordPress, Joomla, Drupal), then the developer is usually available ready-made solutions for caching in the form of plug-ins (which have standard settings and often do not need additional settings).
In CMS WordPress, for example, WP Super Cache and W3 Total Cache plugins have gained wide popularity.
When you clear the cache, you delete all graphic and text data obtained from the sites visited before. That is, when loading pages of information resources, the browser will again take all the data directly from the server.
Now that it has become clear what it means to clear the browser’s cache, let’s look at the reasons for the need to perform this procedure:
Why clean the cache
When you are faced with the development of an information resource, clearing the cache is so usual and regular procedure that it is carried out absolutely “on the machine” (because the site changes all the time, and the result should be seen immediately).
If you consider yourself as a user, then in this case the need to clear the cache occurs much less frequently. However, without deleting the cache, you will not see many updates on the sites (after a while, of course, you will, but it can be a month, or maybe half a year, depending on how long the webmaster has stored the cache of the site) .
Also, do not forget that the copies of the pages saved by the browser have some weight. In addition, each browser has its own cache, that is, by opening a web resource in Google Chrome, and then in Firefox, you will create on your computer 2 copies of the same pages. And if thousands of sites are visited, and the cache has not been cleared for several months, the space occupied by copies will be quite substantial.
We clear a cache in various browsers
Consider deleting the cache in some currently popular browsers:
Go to the browser menu, then look for the item “Service”. Click “Delete Browser Log”, and in the window that appears, put a tick just opposite the item “Temporary Internet Files.” Click “Delete”.
Go to the menu and select “Settings”. Open the “Additional” tab and look for the “Network” item in it. Turning to the content, we see, among other things, the inscription “Cached Web Content”, opposite which is the “Clear Now” button. Click on the cherished button and the process is completed.
In order to clear the cache in the Chrome browser, go to the menu and open the “Tools” item. Click on “Show advanced settings”, then click on “Clear history”. If you want to clear the entire cache, then specify the period “For all time”, and put a tick just opposite the item “Images and other files stored in the cache.” Click on “Clear History”.
Go to the “Settings” section, click on “Security”. Click on “Clear history of visits”, and in the section “Destroy the following items” you should choose “From the very beginning” (if you want to clear the entire cache). Put a tick just opposite “Clear cache” and click on “Clear history”. The process is complete.
In order to clear the cache in
To clear the entire cache, in the drop-down list next to “Delete the following items” select “For all time”. Put a mark just opposite the item “Clear cache” and click on the button “Clear history”.
Thus, clearing the cache allows you to free up space on the hard disk of the computer, so do not be lazy to make a few mouse clicks.