Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Speed Up Firefox in Ubuntu 14.04 By Moving Cache to RAM


  • Please log in to reply
8 replies to this topic

#1 NickAu

NickAu

    Bleepin' Fish Doctor


  • Moderator
  • 13,384 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:01:09 AM

Posted 23 December 2014 - 08:29 PM

USE AT OWN RISK
 
 
There are a few ways to improve Firefox Page Load Times. This is one.
 
If you have lots of ram try this. Move Cache to Ram.
 
1. In address bar of Firefox, type in about:config and hit Enter.
29ljxcl.png
 
Click the button says “I’ll be careful, I promise!”
 
2. Stop Firefox from caching to disk.
 
 
2psgk13.png
In the filter bar, type in browser.cache.disk.enable. Double-click on the result line to set value to false. Or you can find it in the list and double click it to say false.
 
zkpnkl.png
 
3. Enable cache to RAM and assign cache size.
To enable cache to RAM, type “browser.cache.memory.enable” in the filter bar and make sure the value of result preference is true!
To assign cache size, create a new preference:

right click on blank area -> select “New” -> Integer

type in name “browser.cache.memory.capacity”

 
t8vw48.png

type in a value, number in KB (for example, 100000 means 100,000KB or 100MB). You can set the value to -1 to tell Firefox to dynamically determine the cache size.
1z7289j.png
 
Restart Firefox.



BC AdBot (Login to Remove)

 


#2 wizardfromoz

wizardfromoz

  • Banned
  • 2,799 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:09 AM

Posted 25 December 2014 - 04:11 PM

I've just performed this under Linux Mint 17Mate 64-bit. I'll let you  know how it goes.

 

Thanks Nick

 

 JT8CbnS.pngHappy Boxing Day, World!

 

:wizardball: Wizard



#3 pcpunk

pcpunk

  • Members
  • 5,988 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:11:09 AM

Posted 25 December 2014 - 05:31 PM

What is lot's of RAM lol.  I only got 4G, is that enough with the -1 setting?  I don't really need this just interested.  I am hoping to upgrade to 64bit system so that should change a lot.  I will be watching for your results Wiz!


sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#4 wizardfromoz

wizardfromoz

  • Banned
  • 2,799 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:01:09 AM

Posted 25 December 2014 - 06:29 PM

I am hoping to upgrade to 64bit system so that should change a lot.

 

Cool- I'll be watching for your results!

 

I may have to

  1. reverse the steps I took in about:config
  2. choose some graphics-intensive sites I have allowed through NoScript
  3. set some benchmarks, then
  4. back through about:config as per Nick's how-to and
  5. compare results

Otherwise, I might say "Yeah, seems faster", but I prefer the scientific method so I am on safe ground in reviewing it/advocating it.

 

Any ideas, Nick?

 

:wizardball: Wiz



#5 NickAu

NickAu

    Bleepin' Fish Doctor

  • Topic Starter

  • Moderator
  • 13,384 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:01:09 AM

Posted 25 December 2014 - 06:46 PM

This is especially useful to people who have a SSD. Also you should be able to apply this to Windows.



#6 cat1092

cat1092

    Bleeping Cat


  • BC Advisor
  • 7,018 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:North Carolina, USA
  • Local time:11:09 AM

Posted 27 December 2014 - 04:47 AM

It's done Nick, thanks for the tip! :thumbup2:

 

Yes that works for Windows users also. Make the RAM do the work, it saves many writes to SSD's, which causes premature wear. HDD users should also see a performance increase, especially of 2GiB or more RAM is installed. The more installed RAM, the merrier. 

 

Now, if only we had a way to make Chrome to do the same. 

 

Cat


Edited by cat1092, 27 December 2014 - 05:05 AM.

Performing full disc images weekly and keeping important data off of the 'C' drive as generated can be the best defence against Malware/Ransomware attacks, as well as a wide range of other issues. 


#7 pcpunk

pcpunk

  • Members
  • 5,988 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:11:09 AM

Posted 27 December 2014 - 10:27 AM

This would be of big benefit for Puppy's! since there is always some writing going on to some file somewhere right?  For instance-if one is using a LiveUSB, it could increase the life of USB right?


sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 


#8 NickAu

NickAu

    Bleepin' Fish Doctor

  • Topic Starter

  • Moderator
  • 13,384 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:127.0.0.1 Australia
  • Local time:01:09 AM

Posted 27 December 2014 - 03:51 PM

 

This would be of big benefit for Puppy's!

No,  Because puppy already runs in ram.

 

 

 I only got 4G, is that enough with the -1 setting?

Try it, IMO yes it should work fine.


Edited by NickAu, 30 December 2014 - 11:08 PM.


#9 pcpunk

pcpunk

  • Members
  • 5,988 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:Florida
  • Local time:11:09 AM

Posted 27 December 2014 - 05:27 PM

OK.


sBCcBvM.png

Created by Mike_Walsh

 

KDE, Ruler of all Distro's

eps2.4_m4ster-s1ave.aes_pcpunk_leavemehere

 





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users