Re: Optimisation cache Firefox
André Salaün <[email protected]>
| Newsgroups | gmane.linux.mandrake.expert.french |
|---|---|
| Message-ID | <[email protected]> |
> > André Salaün a écrit : > > >> Bonjour, > > >> > > >> Ayant beaucoup de RAM (6 Go), j'aimerais monter le cache de Firefox en > > >> RAM. Dans un premier temps, je repère le dossier du cache en tapant > > >> about:cache dans Firefox. Dans mon cas, ça me donne : > > >> /home/seb/.mozilla/firefox/2vo6c4z7.default/Cache > > >> Donc, si j'ai bien compris le fonctionnement de tmpfs, il me suffit > > >> d'ajouter dans le fichier /etc/fstab la ligne : > > >> tmpfs /home/seb/.mozilla/firefox/2vo6c4z7.default/Cache tmpfs > > >> noatime 0 0 > > >> > > >> J'ai bon ? > > >> Si oui, peut-on en faire autant avec le cache de Flash (je ne sais pas > > >> où il se trouve) ? > > >> > > >> Sébastien > > > > > > faut créer un ramdisk : > > > http://www.korben.info/comment-mettre-le-cache-de-firefox-dans-la-memoi > > >re - ram.html > > > > J'ai lu ça attentivement, mais aussi ces pages : > > http://en.wikipedia.org/wiki/Tmpfs > > http://www.ocztechnologyforum.com/forum/showthread.php?t=54379 (partie > > "Setting up a RAM disk") > > > > Cela m'a persuadé qu'il était plus intéressant de créer un "ramdisk" via > > tmpfs : plus simple et plus efficace. > > > > J'ai créé un dossier /media/firefox. À mon fichier /etc/fstab, j'ai > > ajouté la ligne : > > tmpfs /media/firefox tmpfs defaults,noatime,mode=1777 0 0 > > J'ai effacé mon fichier > > /home/seb/.mozilla/firefox/2vo6c4z7.default/Cache. Puis j'ai crée un lien > > symbolique de > > /home/seb/.mozilla/firefox/2vo6c4z7.default/Cache vers /media/firefox. > > J'ai redémarré et ça marche nickel ! > > > > Sébastien > > Il doit aussi exister une directive dans « about:config» pour fixer le > cache je crois plutôt q'un lien symbolique. Ça y est : browser.cache.disk.parent directory -- A. Salaün
message-footer.txt
(text/plain, 150 B)
================================= http://www.mandriva.com/linux/ Services & cert. hw on http://store.mandriva.com/ =================================