Skip to content

Is there anyway to make firefox load faster?

If there are no running instance of firefox, to open a new window, I have to wait ~3 seconds, while chromium can open instantly.

I have install and enable preload, but there aren't any change. I also tried to open with no addon enable or with a new profile but they still the same. I also have tried different versions of firefox.

Firefox open much quicker for me in Windows and Xubuntu so I'm not sure where the problem is. Can anyone help? The wiki doesn't mention anything about this case.

22 points32 comments
Open on Reddit
About this post
Posted
Archived
Score
22 · 100% up
Kind
Text
ID
6omvdc

Author

11
posts
85
comments
3
media
View profile

33 comments

Maybe not the answer you want, but try using an ssd. Practically instant for me.

18 points

On boot I run

nice find $(df | awk '/^\//{print $NF}') -xdev -type c >/dev/null & disown

to preload every inode on all mounted local filesystems, and I've got vm.swappiness set to 10 and vm.vfs_cachepressure set to 50. The combination made my little box much snappier.

If you want to see what's eating all the firefox startup time you can strace it, maybe strace -e file iirc the args right to see just the stuff that uses a filename for starters.

6 points

Try disabling some of the connections and automatic updating from here

https://support.mozilla.org/en-US/kb/how-stop-firefox-making-automatic-connections

I disabled all network stuff I could and saw a huge start up boost. I suspect it was stylish as I have a lot of themes in stylish that were checking for updates every time it turn it on. For some reason Firefox does not fork these updates into the background. Remember to update your addons periodically for security reasons

Also sometimes when my internet was really bad it would take minutes for the browser to turn on.

5 points

Well, I use ghack user.js and I think I disable most of that stuff, but I will check again.

1 points
unknown author

Deleted before we saved it.

1 points

You can load your entire Firefox profile to RAM, assuming you can spare the memory. Details here.

2 points

This is what I did a few months back to try and get firefox to load asap. Just using a simple RAMdisk of about 800mb, the problem is that I didn't want to always keep and eye on the amount of free space.

1 points

This is what I did a few months back to try and get firefox to load asap

Does it make Firefox perform better overall or just decrease startup time? I've been thinking about doing this.

1 points

What does firefox do during these 3 seconds? What does top says? Any task in D state? Anything in the logs?

1 points

install a samsung 960 PRO series

skrttt!!!!!!

(oh and one more thing - HIT THE BOOKS)

-7 points

Yes, Install Chromium.

-18 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.