HomeHome  PortalPortal  FAQFAQ  SearchSearch  RegisterRegister  Log in  

Share | 
 

 Speed up your browser...

View previous topic View next topic Go down 
AuthorMessage
FeatherMonkey
Old Regular
avatar

Posts : 41
Join date : 2010-02-25

PostSubject: Speed up your browser...   Mon May 31, 2010 7:23 pm

If you notice your browser has slowed down you can vacuum the sqlite3 db's this seems to work for chrome/chromium to. As I noticed it had started to slow down so had a little poke to discover it also used a lot of sqlite db's so the code.

Mozilla
Code:
for qf in $(for f in /home/$USER/.mozilla/*/*/*; do file "$f" | grep "SQLite" | cut -d":" -f1; done);do sqlite3 $qf 'VACUUM;'; done

For Chromium you may need to tweak the path if it is chrome, either you'll have a hidden(Something like .chrome) or it'll be in .config.
Code:
for qf in $(for f in /home/$USER/.config/chromium/Default/*; do file "$f" | grep "SQLite" | cut -d":" -f1; done);do sqlite3 $qf 'VACUUM;'; done

Remember to close the browser in question otherwise it'll report locked db's
Back to top Go down
welan
Admin
avatar

Posts : 248
Join date : 2010-02-23
Age : 53
Location : snow drift in minnesota

PostSubject: Re: Speed up your browser...   Mon May 31, 2010 9:00 pm

Nice one

_________________
An expert is a man who tells you a simple thing in a confused way in such a fashion as to make you think the confusion is your own fault. 
Back to top Go down
 
Speed up your browser...
View previous topic View next topic Back to top 
Page 1 of 1
 Similar topics
-
» do not run browser, when start selenium testing
» browser runs minimized at startup in selenium RC
» opera browser not loading the page using selenium Rc(Java)
» New user extension regarding wait and traverse in browser.
» What is a browser?

Permissions in this forum:You cannot reply to topics in this forum
SUSEUnbound :: Help Section :: Tips and Tweaks-
Jump to: