Caching is a technique used by many programs to improve their performance, especially for applications that run over the Internet, such as streaming programs or web browsers. This technique consists of saving all or part of the information being processed in a directory so that, if we return to it, instead of having to download it again from the Internet it is loaded directly from the computer. And although it may seem like a good feature in general, if we don't control the cache of the programs it may cause us some headaches.
That's why, sometimes, we may want to change where the cache is stored.
Although the cache means that the web pages we visit frequently can load faster, if we have a small hard disk (for example, an SSD) this cache may be taking up a lot of this disk space. Also, if you have a conventional hard disk, rather than an SSD, slower access times can make cache usage counterproductive, making it better to download data from the Internet again rather than loading data already stored on the hard disk.
Programs usually store their caches within their own directories. And the developers' idea is that users should not change these settings. Luckily, there are little tricks that allow us to change, at least in browsers, the directories where the cache is saved and managed.
Move Google Chrome cache
Among the many configuration options that Google Chrome has, we can't find a section that allows us to change the path where the browser cache is saved. To change it, what we have to do is manually modify the browser's shortcut so that, when we open it, the browser is told that the cache is in another path.
To do this, locate the Google Chrome shortcut, right-click on it, and open the Properties window. Within the properties of the shortcut, what we have to do is go to the section of "Destination" and add the following:
--ser-data-dir=directorio (changing "directory" to the path we want to use)
When we open the browser again, the cache will be saved in the new directory we have specified. Whenever we open the browser for this shortcut, the new cache directory will be used. But if we open it from another shortcut, the default cache directory will be used again. To use the default cache directory again, we simply need to clear this parameter and run Chrome again.
Changing the Firefox cache
Although Firefox doesn't make it very intuitive either, it allows you to change the cache path from the advanced settings of the browser, although manually. To do so, what we have to do is enter the browser's configuration by typing "about:config" in the address bar, and look for the following string:
In case it does not exist we can create it manually. We will click with the right button of the mouse and we will choose "New > Chain", giving it that name.
Once the new string is created we must edit it to add the directory we want to be configured as browser cache.
Once done, we restart the browser and when it is opened again, the new directory will be set as the default path for saving the cache. If we want Firefox to use the default cache directory again, we simply have to look for this option again and delete it from the trash icon.
Change the Edge cache
Microsoft Edge, the Windows 10 browser, is based on Chromium. This means that, for better or worse, it adopts the same features as Google's browser. Like its rival, Edge doesn't allow us to change from the configuration the directory where we want the cache of it to be saved. But the process for changing it is identical to Chrome's.
So, what we have to do is edit the shortcut and add the same parameter, at the end of the destination box, that we have added for Chrome. It's recommended that each browser has a separate directory (even if it's a sub-folder), because if they all use the same
As in Chrome, we must open the browser from this shortcut to use the new cache. If we open it from another one, the default directory will be used again. To undo the changes we must simply delete this parameter from the URL.
Change the Opera cache directory
In the case of using this alternative web browser (or other Opera-based browsers), we can also customize the directory where we want the browser cache to be stored. The process is similar to Chrome and Edge, that is, we have to modify the shortcut to specify the directory where we want the cache to be saved. But instead of adding the parameter above we need to add the following:
When we run the browser from this shortcut, it will use the new path we just specified by default to save the cache and temporary files. If we want to use the default cache again, we'll simply remove the parameter we've just added and reopen it. Or open it from a different shortcut.
Business vector created by freepik - www.freepik.com
Licenciada en Bellas Artes y programadora por pasión. Cuando tengo un rato retoco fotos, edito vídeos y diseño cosas. El resto del tiempo escribo en MA-NO WEB DESIGN AND DEVELOPMENT.
What is DNS Blockchain and how to use it
To be able to navigate the Internet, to enter a website and have it show us all the content we want and search for, certain functions and characteristics are necessary.…
How to use your browser as a file browser, in Chrome or Microsoft Edge
We're going to explain how to use the Chrome browser as a file browser, both on Android and on your computer. This is a hidden feature of Chromium that will…
The best tricks and features to master your Android Smart TV
We bring you a collection of the best tricks to squeeze Android TV, the Google operating system designed for televisions. You can find it on smart televisions of some brands,…
What's the Difference between Google TV and Android TV?
At the end of September, Google launched the renewal of its classic dongle. The new Google Chromecast didn't arrive alone, but added two very important innovations compared to the devices…
How to prevent your neighbor from hacking your Chromecast
Google Chromecast was born as a device to add Smart TV features to those that were not yet Smart TV, and with WiFi connectivity as one of the key features…
How to Unlock Secret Games in Chrome, Edge and Firefox
Your web browser is full of secrets. I usually spend a lot of time studying new features that I can unlock through pages like chrome://flags and about:config in the browser,…
How to setup an Android TV with androidtv.com/setup or the Google application
Android TVs and players are a good investment if you want to have all the entertainment at your fingertips. However, they require an installation that, although simple, has several ways…
How to enable Chrome's new feature that blocks ads that consume your CPU, battery, and Internet connection
Google has announced that it will begin experimenting with a technology that they have been developing for months, in order to improve the battery consumption of our computers and the…
How to use to Chrome Lighthouse
How would you like to perform a fast SEO audit with a Chrome browser-based instrument? With the Lighthouse extension, you can do that. If you're not acquainted with Lighthouse, it's an…
Fullscreen Background Video HTML5 And CSS cross-browser
Full-screen Background Video is a way to present your website playing a video in the background without disturbing its content. It makes your website very modern and different. So, in…
CSS Progressive Loading in Chrome
Until now, only in IE/Edge could we leverage streaming of CSS to load progressively the CSS of the components as their HTML is streamed. In other browsers, they would normally block…
Google Chrome will block Flash content starting next month, make HTML 5 default by December
There really is no stopping Flash's demise. In a blog post Chrome team has announced that the browser will start blocking the Flash starting this September with Chrome 53. As more…