RSS
Articoli
Commenti

Ottimizzare FireFox 2.0

E' dall'uscita della nuova versione del famoso browser che mi chiedevo se ci fossero delle ottimizzazioni da fare per velocizzarlo e per ridurre l'esosa quantità di RAM che occupa dopo diversi minuti di navigazione. Come al solito, ho aperto il buon google.it e ho fatto qualche ricerca e ho trovato questo interessante articolo la cui versione originale è su Il Blog di Andrea Guidi:

Il primo passo da compiere, è quello di impostare alcune cose interne di Firefox, quindi nella barra degli indirizzi, digitiamo about:config e diamo l’invio.

Adesso dobbiamo cercare alcune chiavi e, modificarne il valore:

Chiave: network.prefetch-next Impostare a: False

Chiave: browser.cache.disk.capacity Impostare a: 15000 (se avete da 512MB di RAM in su) o 5000 (se avete meno di 512MB di RAM)

Chiave: browser.sessionhistory.max_total_viewers Impostare a: 0

Adesso, sempre nel pannello di configurazione di Firefox, fate click destro, scegliete Nuovo > Booleano, immettete come nome config.trim_on_minimize e, come valore True.

Ora, passiamo all’installazione ed utilizzo di qualche bella estensione:

Installate Cache Status ed impostatelo (in menu > strumenti > componenti aggiuntivi (o “Add-ons”) > “Nome estensione” > Tasto opzioni) a cancellare automaticamente il 15% della cache del vostro Firefox.

Installate FasterFox.

Manca solo l’utilizzo di un bel softwarino esterno, ed il gioco è fatto:

Scaricate ed installate FireTune, apritelo ed impostate come segue:

Per prima cosa, fate un backup della vostra configurazione, in modo
che, in caso di problemi (ma non ce ne saranno), potrete reimpostare
Firefox, come se non fosse mai stato usato FireTune, cliccando sul
pulsante create backup of configuration e confermando.

Adesso, selezionate la combinazione che più vi si addice tra quelle fast/slow, tenendo conto che, per fast computer s’intende un PC con almeno 1.5Ghz di potenza del processore e, almeno 512MB di RAM. Per fast connection, s’intende ADSL e superiori.

Nel settore “other optimizations”, lasciamo tutto com’è.

Nel settore “other useful settings”, spuntiamo la voce Optimize Firefox memory usage

A questo punto, non ci resta che applicare i cambiamenti, cliccando sul pulsantone Tune it! e, confermando.

Adesso, chiudete Firetune, aprite il vostro browser preferito e, noterete subito la nuova vitalità del “panda” che, sarà molto più agile e veloce… Buona svolazzata nel web con il vostro nuovo Firefox!

Personalmente a me mancavano le ottimizzazioni nel file config ma non mi sono fermato qui ed ho cercato al di fuori della nostra penisola trovando questo altro interessante articolo che trovate in forma completa qui: Firefox Tweaks Revisted for 2.0

Increase the Speed in Which Firefox loads pages

1.Type “about:config” into the address bar and hit return.
Normally the browser will make one request to a web page at a time.
When you enable pipelining it will make several at once, which really
speeds up page loading.
2. Alter the entries as follows:
3. Set “network.http.pipelining” to “true”
4. Set “network.http.proxy.pipelining” to “true”
5. Set “network.http.pipelining.maxrequests” to some number like 30.
This means it will make 30 requests at once. Some webmasters won’t like
you for that, a safe number should probably be about 15-20.

6. Lastly right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0″.

This value is the amount of time the browser waits before it acts on
information it receives. If you’re using a broadband connection you’ll
load pages faster now
More options for your about:config (you might have to create some of
these entries by Right Click –> New– > Interger or String

7. network.dns.disableIPv6: set “false”
8. “content.notify.backoffcount”: set “5″
9. “plugin.expose_full_path”: set “true”.
10. “ui.submenuDelay”: set “0″ (zero)

Processor and Memory Utilization

Kill RAM usage to 10mb when FF is minimized
This little about:config hack will drop Firefox’s RAM usage down to 10 Mb when minimized

1. Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
2. Right Click in the page and select New -> Boolean.
3. In the box that pops up enter config.trim_on_minimize. Press Enter.
4. Now select True and then press Enter.
5. Restart Firefox.

Kill the amount of RAM Firefox uses for it’s cache feature
Here’s how to fix it:
1. type “about:config” (no quotes) in the browser.
2. Find browser.sessionhistory.max_total_viewer
2. set it’s value to “0″

Control your Cache
Also, right click and add an entry “browser.cache.memory.capacity” with
a lower integer value. When a page is loaded, it can be cached so it
doesn’t need to be rerendered to be redisplayed. This preference
controls the maximum amount of memory to use for caching decoded images
and chrome (application user interface elements).

Dall'unione di queste due guide spero che il mio buon FireFox 2.0 non raggiunga, come ho visto fare un giorno, i 140 MB di RAM e mi lasci lavorare anche con altre applicazioni. ;)

  • Nessun articolo analogo

4 commenti

  • At 2007.02.09 12:20, Fabio Calliera said:

    Per coloro che non hanno intenzione di scaricarsi add-on, riassumo, citando da geekissimo.com le modifiche manuali da effettuare:

    Per cominciare dobbiamo scrivere nella barra degli indirizzi, about:config e modificate le voci che vedete sotto. se fossero assenti createle cliccando col il tasto destro->nuovo->(create nuovi “interi” per le voci con valore numerico e, nuovi “booleano” per le voci con valore alfabetico true o false):

    * network.dns.disableIPv6: true
    * network.http.max-connections: 48
    * network.http.max-connections-per-server: 24
    * network.http.max-persistent-connections-per-proxy: 12
    * network.http.max-persistent-connections-per-server: 6
    * network.http.pipelining.firstrequest: true
    * network.http.pipelining: true
    * network.http.pipelining.maxrequests: 32 (se riscontrate problemi di navigazione dopo il cambiamento di questo valore, reimpostatelo come di default, ovvero a “8?)
    * network.http.proxy.pipelining: true
    * nglayout.initialpaint.delay: 0
    * config.trim_on_minimize: true
    * browser.sessionhistory.max_total_viewers: 0
    * browser.cache.disk.capacity: 15000 (se avete da 512MB di RAM in su) oppure 5000 (se avete meno di 512MB di RAM)
    * content.max.tokenizing.time: 600000
    * content.notify.backoffcount: 5
    * content.notify.interval: 200000
    * content.notify.ontimer: true
    * content.switch.threshold: 200000
    * content.maxtextrun: 8191
    * dom.disable_window_status_change: true
    * network.http.request.max-start-delay: 5
    * browser.urlbar.autoFill: true
    * plugin.expose_full_path: true
    * ui.submenuDelay: 0

    • [...] Il link è questo: Ottimizzare Firefox 2.0 [...]

      • At 2007.04.22 03:14, qwerty said:

        a me ha raggiunto anche i 350 MB di RAM 8-(

        • At 2008.12.12 11:35, sdf said:
          (Required)
          (Required, will not be published)