Multiple profiles with different cache settings
I want to have multiple profiles with different settings for the cache. I'll call them ProfileOne and ProfileTwo for simplicity's sake. ProfileOne I want to clear its cache on exiting Firefox and on ProfileTwo have it retain its own cache. I have already setup both profiles and configured them accordingly with ProfileOne's privacy settings for Clear History > Cache checked so it clears on exit and ProfileTwo is not set to clear anything on exiting.
The main issue is that after doing something with ProfileTwo then switching to ProfileOne, upon exiting ProfileOne it also deletes ProfileTwo's cache. I have tried using the profile manager to create the profile in a different location than default to no avail. Is there any way to set it so ProfileOne's cache can still be cleared on exit without affecting ProfileTwo's cache?
모든 댓글 (3)
If you clear the cache when you close Firefox then current Firefox versions will disable the disk cache and only use the memory cache as you can see on the about:cache page that also shows the location of the cache if enabled.
This doesn't however clear current files in the cache.
Are you using the -no-remote command line switch to start any of the profiles?
Are you sure that Firefox is really using the other profile?
Copy and Paste this code in the Code field in the "Tools > Error Console" and click the "Evaluate" button to see the location of the profile folder.
Components.classes["@mozilla.org/file/directory_service;1"].getService(Components.interfaces.nsIProperties).get("ProfD", Components.interfaces.nsIFile).path;
I am not using -no-remote command on any profiles. I am sure that I'm switching between the two profiles since I launch to profile manager and use that to change between the two. When running the provided code I get this on the profiles:
ProfileOne: C:\Users\davis\AppData\Roaming\Mozilla\Firefox\Profiles\ec042yhk.ProfileOne
ProfileTwo: C:\Users\davis\AppData\Roaming\Mozilla\Firefox\Profiles\c9apjl5g.ProfileTwo
When checking about:cache, ProfileTwo does list the Disk Cache and the files listed in about:cache do persist after loading ProfileOne. With that info I went back to double check and apparently my issue is with Cookies being deleted by ProfileOne on exiting.
To give a full understanding of what is going on, when I play and save a flash game on ProfileTwo, after loading ProfileOne and exiting, ProfileTwo's progress is deleted. After doing some research, it looks like the LSOs (flash cookies) are being deleted on exit since it is set to clear cookies. Since Adobe Flash doesn't differentiate between the profiles, everything is getting wiped.
Is there another way to keep those LSOs around without changing the delete cookies option for ProfileOne?
글쓴이 Congree 수정일시
After checking a few different options, it looks like the add-on Better Privacy provides the options I need for LSO management and does separate HTML cookies from Flash cookies nicely and lets me save specific site's LSOs. Thanks for the assistance!