본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

Multiple profiles with different cache settings

  • 3 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: Congree

more options

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?

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)

more options

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;
more options

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 수정일시

more options

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!