Robert Kudyba wrote:
> 
> In Fedora the default launcher for all users for FF is
> /usr/share/applications/firefox.desktop. I know we can use the
> --profile option. Our university uses NIS (!!!) with NFS and when 30
> students launch FF the machines come to a crawl. I've used the great
> tutorial at
> https://www.pcsuggest.com/speed-up-firefox-with-ram-cache-and-tmpfs-linux/
> to put cache in RAM and set other options. What's the recommended way
> to getting this to work for all users by default? A similar question
> was asked here: https://support.mozilla.org/en-US/questions/979445
> but I have root access so I can make changes in any file in
> /usr/lib64/firefox/mozilla.cfg and we have autoconfig already enabled
> with the tips from the pcsuggest.com<http://pcsuggest.com> article.

You could put the cache directory in say /tmp via an autoconfig.cfg file 
- see: https://developer.mozilla.org/en-US/Firefox/Enterprise_deployment 
- this may help in your case - with something like:

  var cache_dir = "/tmp/." +  getenv("LOGNAME") + "/Cache/";
  lockPref('browser.cache.disk.parent_directory', cache_dir);

If your profile directory is on an NFS share, then you will probably 
want to add:

  lockPref("storage.nfs_filesystem", true);

James Pearson
_______________________________________________
Enterprise mailing list
[email protected]
https://mail.mozilla.org/listinfo/enterprise

To unsubscribe from this list, please visit 
https://mail.mozilla.org/listinfo/enterprise or send an email to 
[email protected] with a subject of "unsubscribe"

Reply via email to