a cache stores temporary data nearby so that it can be retrieved much more quickly than fetching it from the real backing store (disk, network), or recalculating some result all over again
Questions tagged [cache]
310 questions
337
votes
7 answers
Is it okay to delete the ~/.cache folder?
When I use disk usage analyzer and scan my home folder, the .cache folder in my home directory always shows up with a decent bit of things in it.
Would it be okay for me to delete the contents of this folder or would it damage something?
Aner
- 3,371
139
votes
5 answers
Drawbacks of using preload? Why isn't it included by default?
I would like to know what are the drawbacks of using preload? If there would be no downside, preload would be enabled by default, so I guess there are some.
Okay you need a bit more RAM, but most people have by far more RAM then Ubuntu needs - so…
Paradiesstaub
- 4,391
104
votes
8 answers
Computer freezing on almost full RAM, possibly disk cache problem
The problem I think is somewhat similar to this thread.
It doesn't matter if I have swap enabled or disabled, whenever the real used RAM amount starts going close to maximum and there is almost no space left for disk cache, system becomes totally…
Krišjānis Nesenbergs
- 2,011
66
votes
4 answers
How do I clean or disable the memory cache?
After the system starts, in a few minutes my memory cache fills up and it starts using the swap. Here's a screenshot of /proc/meminfo.
However, if I can disable this process / clean the cache once after that, I think my system will speed up to…
Bharadwaj Srigiriraju
- 2,198
55
votes
6 answers
How to clean /var/cache?
When I woke up this morning, I found my root had filled overnight
du -hx --max-depth=1 /
132M /boot
4.0K /media
16K /lost+found
16M /root
702M /lib
4.0K /OLDHOME
8.2G /usr
73M /etc
4.0K /srv
11M /sbin
4.0K …
avmohan
- 663
55
votes
4 answers
How do I install and use flashcache/bcache to cache HDD to SSD?
I want to know if there is anyone who has tried installing and running their kernel built with flashcache or bcache for SSD caching?
How did you manage to do it?
kapad
- 1,082
50
votes
1 answer
What Does Cached Memory Mean when Viewing htop?
While viewing the reports of htop, I would like to know what the orange/brown 'cached memory' bars actually indicate. Really I'm looking for a more practical explanation of what I'm looking at, rather that pure CS terms. Though I'd like to have…
zachd1_618
- 753
44
votes
3 answers
What is safe to exclude for a full system backup?
I'm looking for a list which paths/files are safe to exclude for a full system/home backup.
Considering that I have a list of installed…
seb
- 2,341
42
votes
4 answers
How can I clear my cached gpg password?
I've tried:
the SIGHUP method --> no succes
the cache timeout in gpg-agent.conf --> it seems that this file is not read, althougt I have the 'use-agent' line in gpg.conf
What should I do ?
Thomas Produit
- 555
- 1
- 4
- 7
42
votes
4 answers
How do I reset the thumbnail cache?
I have a lot of images on my laptop as I work in graphics. On the same system, I also have a folder containing my family pictures.
I would like to do two things:
Empty the already cached images
and then
"blacklist" or exclude the folder holding…
Allan
- 11,672
37
votes
2 answers
how to clear DNS cache in 22.04?
How is the DNS cache cleared in 22.04?
The method that worked in 20.04:
systemd-resolve --flush-caches
no longer works.
mlmccauley
- 471
30
votes
6 answers
Best way to set up DNS caching?
In order to speed up DNS lookups, I want to install a DNS cache or proxy.
I can see at least three programs I think will do the job: bind9, pdnsd, or dnsmasq.
I would like to make sure that if I install one of I do not leave it poorly configured…
user8979
29
votes
2 answers
Reset MS Teams completely
I used Microsoft Teams (Linux) few months back with an organizational account. Now I want to use it with some other account. I'm currently in logged out state since I don't have access to the org account. Everytime I open, it takes me to the…
kl_divergence
- 393
23
votes
4 answers
How to clean var/cache/apt in a way that it leaves only the latest versions of each package
I want to know a way to clean the var/cache/apt folder in a way that it only leaves the latest version of a package if it has several versions or it leaves a package if it is the only one of that program.
For example I have several vlc packages…
Luis Alvarado
- 216,643
23
votes
3 answers
Can I copy large files faster without using the file cache?
After adding the preload package, my applications seem to speed up but if I copy a large file, the file cache grows by more than double the size of the file.
By transferring a single 3-4 GB virtualbox image or video file to an external drive, this…
Veazer
- 1,471