Re: How to clear cache?

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: George Toft
Date:  
To: plug-discuss
Subject: Re: How to clear cache?
Josef Lowder wrote:
> What is the best way to clear cache on a Linux system?
>
> I frequently use 'slocate' to find files on my system and doing
> that often includes a whole bunch of listings in the following
> directory (folder) that muddies up my search.
>
> /home/joe/.kde/share/apps/kio_http/cache/
>
> Is there any downside to periodically deleting all these files?
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
>



Depends . . .

If the app is written assuming the cache is intact, the results would be
devastating to the app. Otherwise, you will just chew up some bandwidth
as the app reacquires the images that were in the cache to begin with.

I would suggest using the app's built-in cache control and limit the
size of the cache or the duration the files are stored.

For your search, you can always run it through grep/egrep to remove 
these entries:
    locate whatever | grep -v cache


Cheers!
--
George Toft, CISSP, MSIS
AGD,LLC
www.agdllc.com
623-203-1760

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss