Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 02-11-2010, 09:10 PM   #1
Senior Member
Registered: Apr 2006
Posts: 2,000

Rep: Reputation: 66
clearing Firefox cache automatically

Can I set the Firefox cache to clear automatically after some event (exiting Firefox or logging out of the system,either would be acceptable)?
Old 02-11-2010, 09:25 PM   #2
LQ Newbie
Registered: Apr 2009
Posts: 14

Rep: Reputation: 1

Under 'Edit', 'Preferences', 'Privacy', you can set it to delete cookies and clear history when you close Firefox, or (depending on which version you're using) you can choose 'Automatically start Firefox in a private browsing session' and everything will be cleared.

"Firefox will not record browsing history, search history, download history, web form history, cookies and temporary Internet files. Bookmarks as well as downloads on the other hand will be retained in private browsing mode.

The main difference between clearing data when closing the browser and using the Private Browsing mode is that the Private Browsing mode will never store data on the hard drive.

It is important to note that private browsing is only helpful to avoid records of browsing sessions on the computer used. It does not hide the user from the Internet Provider or websites that they visit."
Old 02-11-2010, 10:39 PM   #3
Senior Member
Registered: Apr 2006
Posts: 2,000

Original Poster
Rep: Reputation: 66
That';s not exactly what I expceted, but it works. Thank you.
Old 02-13-2010, 09:13 PM   #4
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
Use a cron job with
rm /home/username/.mozilla/firefox/profile_name/Cache/* -rf
as the command (edit username and profile_name to match yours). Run the command at the wanted interval.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
clearing cache in Firefox newbiesforever Linux - Software 3 12-01-2009 02:51 PM
Clearing the Cache. surisourabh Programming 2 04-14-2009 05:08 AM
clearing CD cache grayFalcon Programming 1 09-21-2006 04:55 PM
clearing cache, web cache on linux varunbihani Linux - General 2 12-08-2005 12:02 PM
clearing cache waxiem Linux - General 1 03-02-2003 09:42 AM

All times are GMT -5. The time now is 02:46 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration