Is there anything in ~/.cache that is not really cache?How can I disable the prefetch cache?Is there a difference between SWAP and Cache memory?TMPFS for /var/cacheHow to remove packages from the apt cache that are not currently installed?Disable filesystem read cacheIs there official documentation on directories like ~/.config and ~/.cache?How would I place the Chromium cache on tmpfs (ram)?

Is self-awareness or consciousness actually a evolutionary disadvantage?

Is an algorithm with an approximation factor of 4000 useful?

Could earthquake cancellation work?

Do women need to marry to be fulfilled?

Reconstructing the results of a 6-team soccer tournament

Summing Values in an "Association" with the same Keys

Why are the 4th and 7th scale degrees removed from the major scale to make the Pentatonic scale?

Sequence of words in question

Any reason not to use global lambdas?

How to I represent 5 eighth-notes as one note?

Is Two-Weapon Fighting the only way for a Horizon Walker ranger to use the Distant Strike feature to attack two different creatures?

Resources for Learning Multiplication Facts

Toxic Culture - I'm putting more resources to help project move faster, but people are slowing down

Naval cannons vs ships made of magic wood

What did Harry mean when he said "Well, I take it you're not sorry?" to Griphook?

Is it appropriate to rewrite and republish another author's useful but very badly written paper?

Why this definition for Lebesgue measurable functions?

smallest number obtainable from 2020

How does the bypass air provide thrust?

Obtaining optimality gaps when using hybrid exact-heuristic approaches to vehicle routing problems

Why aren't we seeing carbon taxes in practice?

Does the sterile cockpit rule mean flight attendants could not inform the pilots if a passenger is in the lavatory while on final?

How to do a privileges escalation with ping?

Broken 26'' wheel



Is there anything in ~/.cache that is not really cache?


How can I disable the prefetch cache?Is there a difference between SWAP and Cache memory?TMPFS for /var/cacheHow to remove packages from the apt cache that are not currently installed?Disable filesystem read cacheIs there official documentation on directories like ~/.config and ~/.cache?How would I place the Chromium cache on tmpfs (ram)?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









4


















My machine has lots of memory, so I moved ~/.cache/google-chrome into /tmp, which is a tmpfs RAM disk.
This makes the browser run faster and reduces SSD usage.
When I reboot, it all goes away, but it gets recreated again.
All is fine.



In theory, I could move all of ~/.cache there too.



But in practice, how likely is it that some packages (ab)use ~/.cache for something other than temporary reproducible data?



UPDATE:



I decided to try it out and did this:



$ mv ~/.cache ~/.cache.old
$ ln -s /tmp/home/ray/.cache ~/.


and then added this to my ~/.profile:



mkdir -p /tmp/home/ray/.cache


and so far everything is working okay across reboots. Removing .cache.old will free up about 2G of mostly ancient files.



If I ever do run into any packages that misuse .cache, I can teach .profile to add a symlink back to a real directory for that specific case.










share|improve this question






















  • 1





    It's unfortunate, but I've already run into a couple of apps that do store preferences in ~/.cache, the most glaring being Evolution. You're probably going to have to test each app individually to see what breaks.

    – ajgringo619
    Oct 2 at 16:09

















4


















My machine has lots of memory, so I moved ~/.cache/google-chrome into /tmp, which is a tmpfs RAM disk.
This makes the browser run faster and reduces SSD usage.
When I reboot, it all goes away, but it gets recreated again.
All is fine.



In theory, I could move all of ~/.cache there too.



But in practice, how likely is it that some packages (ab)use ~/.cache for something other than temporary reproducible data?



UPDATE:



I decided to try it out and did this:



$ mv ~/.cache ~/.cache.old
$ ln -s /tmp/home/ray/.cache ~/.


and then added this to my ~/.profile:



mkdir -p /tmp/home/ray/.cache


and so far everything is working okay across reboots. Removing .cache.old will free up about 2G of mostly ancient files.



If I ever do run into any packages that misuse .cache, I can teach .profile to add a symlink back to a real directory for that specific case.










share|improve this question






















  • 1





    It's unfortunate, but I've already run into a couple of apps that do store preferences in ~/.cache, the most glaring being Evolution. You're probably going to have to test each app individually to see what breaks.

    – ajgringo619
    Oct 2 at 16:09













4













4









4








My machine has lots of memory, so I moved ~/.cache/google-chrome into /tmp, which is a tmpfs RAM disk.
This makes the browser run faster and reduces SSD usage.
When I reboot, it all goes away, but it gets recreated again.
All is fine.



In theory, I could move all of ~/.cache there too.



But in practice, how likely is it that some packages (ab)use ~/.cache for something other than temporary reproducible data?



UPDATE:



I decided to try it out and did this:



$ mv ~/.cache ~/.cache.old
$ ln -s /tmp/home/ray/.cache ~/.


and then added this to my ~/.profile:



mkdir -p /tmp/home/ray/.cache


and so far everything is working okay across reboots. Removing .cache.old will free up about 2G of mostly ancient files.



If I ever do run into any packages that misuse .cache, I can teach .profile to add a symlink back to a real directory for that specific case.










share|improve this question
















My machine has lots of memory, so I moved ~/.cache/google-chrome into /tmp, which is a tmpfs RAM disk.
This makes the browser run faster and reduces SSD usage.
When I reboot, it all goes away, but it gets recreated again.
All is fine.



In theory, I could move all of ~/.cache there too.



But in practice, how likely is it that some packages (ab)use ~/.cache for something other than temporary reproducible data?



UPDATE:



I decided to try it out and did this:



$ mv ~/.cache ~/.cache.old
$ ln -s /tmp/home/ray/.cache ~/.


and then added this to my ~/.profile:



mkdir -p /tmp/home/ray/.cache


and so far everything is working okay across reboots. Removing .cache.old will free up about 2G of mostly ancient files.



If I ever do run into any packages that misuse .cache, I can teach .profile to add a symlink back to a real directory for that specific case.







cache tmpfs






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Oct 3 at 20:08







Ray Butterworth

















asked Oct 1 at 23:58









Ray ButterworthRay Butterworth

8591 gold badge2 silver badges17 bronze badges




8591 gold badge2 silver badges17 bronze badges










  • 1





    It's unfortunate, but I've already run into a couple of apps that do store preferences in ~/.cache, the most glaring being Evolution. You're probably going to have to test each app individually to see what breaks.

    – ajgringo619
    Oct 2 at 16:09












  • 1





    It's unfortunate, but I've already run into a couple of apps that do store preferences in ~/.cache, the most glaring being Evolution. You're probably going to have to test each app individually to see what breaks.

    – ajgringo619
    Oct 2 at 16:09







1




1





It's unfortunate, but I've already run into a couple of apps that do store preferences in ~/.cache, the most glaring being Evolution. You're probably going to have to test each app individually to see what breaks.

– ajgringo619
Oct 2 at 16:09





It's unfortunate, but I've already run into a couple of apps that do store preferences in ~/.cache, the most glaring being Evolution. You're probably going to have to test each app individually to see what breaks.

– ajgringo619
Oct 2 at 16:09










0






active

oldest

votes













Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);














draft saved

draft discarded
















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1178029%2fis-there-anything-in-cache-that-is-not-really-cache%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown


























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1178029%2fis-there-anything-in-cache-that-is-not-really-cache%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown









Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?