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;
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
add a comment
|
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
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
add a comment
|
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
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
cache tmpfs
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
add a comment
|
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
add a comment
|
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
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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
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