Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (2) </ [1] 2 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Firefox Cache, Tip on firefox cache< Next Oldest | Next Newest >
Felson Offline





Group: Members
Posts: 54
Joined: Jan. 2007
Posted: Feb. 01 2007,17:08 QUOTE

Ok, I thought it was dumb to have the cache in the home directory where it gets backed up, since I really don't want it anyway. Yes, you can set it to cache 0, but that is a pain while you are browsing. Son instead I moved the cache dir to the /tmp/ directory. Here is what you need to do if you want to do this. (Note this was done in firefox 1.5. I am unsure about other versions.)

Load Firefox.
Type about:config in the URL bar.
right click->new->string
enter
browser.cache.disk.parent_directory
click ok
enter
/tmp/firefox/
click ok
restart firefox.

Now you can browse all you want, and your cache will not get backed up in yout backup.tar.gz file.
Back to top
Profile PM 
roberts Offline





Group: Members
Posts: 4983
Joined: Oct. 2003
Posted: Feb. 01 2007,19:02 QUOTE

By default Cache is in .xfiletool.lst and is therefore not in the backup.

Firefox does have an additional directory called Cache.Trash.
Cache.Trash  could be added to .xfiletool.lst, but mine has always been empty. YMMV
Back to top
Profile PM WEB 
humpty Offline





Group: Members
Posts: 655
Joined: Sep. 2005
Posted: Feb. 02 2007,13:00 QUOTE

just add a line in /opt/powerdown.sh to delete
the files.
Back to top
Profile PM 
WDef Offline





Group: Members
Posts: 798
Joined: Sep. 2005
Posted: Feb. 09 2007,23:34 QUOTE

As has been said in the past one thing that is important to do is to choke off firefox's guzzling of memory.

Recently I've been revisiting the past and using dsl-2.1b purely so I can use the ipw2000 drivers in the repo, and have been experiencing lots of freezes with that dsl's firefox (think I'll have to get a prism2 pcmcia card to get away from that version and the freezes). Googling reveals that version of FF was notorious for freezing, though I never experienced this back when I was using dsl-2.1b on a box with 1GB ram (now on laptop with 512mb).

So have implemented the old about:config hacks (posted a long time ago) and also dug on google for more:

1.  Faster loading and painting:

nglayout.initialpaint.delay integer 0

content.notify.interval integer 5000

5000 is ok on p3.  Go lower on a faster processor.

2.  Firefox 1.0.6 (dsl-2.1b) is prone to freezing if:

a). The last download dir has become inaccessible.
See http://forumz.tomshardware.com/softwar....26.html

The fix is apparently:

reset browser.download.lastDir in about:config

or

b)  You're using the flash plugin.
http://lists.freebsd.org/pipermail/freebsd-gnome/2005-July/011853.html  (and other posts).

So it's better not to run flash unless needed for a site with that old FF.

3. Firefox is a memory hog, so limit it's memory guzzling or it slows down.

http://www.jimmyr.com/blog/Firefox_144_2006.php

Create integer value browser.cache.memory.capacity in about:config and set its value to 16384. This limits cache size to 16MB instead of _infinity_.
On dsl I think I'll go lower to 8mb or 4mb since I still got a grind down to a freeze when firefox and frostwire were running at the same time (both access java).

Only for Firefox 1.5 or later: disable or set a new value for "browser.sessionhistory.max_total_viewers".   This controls pages caching in your history for surfing  back and forth in your history.  

4. Ensure  “periodically check for updates” under the Advanced tab of Preferences is switched off.  Obviously this is useless for dsl.

5. I might have to try using swap.  Never have needed to with dsl before.

6. Or use one of the later firefox.ucis.  I like opera but dislike the way it sticks itself to the top border of the screen in dsl (or it does for me).

Anyone got any more suggestions?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: Feb. 10 2007,03:30 QUOTE

wow...I never noticed you could create new settings in about:config.  I wonder if there is a list of acceptable names somewhere?

Is browser.cache.memory.capacity the same as setting the cache size in preferences?


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
7 replies since Feb. 01 2007,17:08 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (2) </ [1] 2 >/
reply to topic new topic new poll
Quick Reply: Firefox Cache

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code