Closed Bug 197904 Opened 21 years ago Closed 8 years ago

Use a custom directory service key for cache instead of NS_APP_USER_PROFILE_50_DIR

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: ccarlen, Unassigned)

References

Details

Certain applications want to keep the disk cache in a location which is outside
the profile dirrectory. They should be able to do this by re-defining a
directory service key. That isn't possible right now because cache just asks for
NS_APP_USER_PROFILE_50_DIR and then appends "Cache" to it. The proposal is:
Define a key called NS_APP_CACHE_PARENT_DIR which, as its name says, returns the
parent of the disk cache. The cache service will still be responsible for
creating the cache directory.
Note that we need to implement a locking mechanism for the Cache dir too.
dupe/depend to bug 74085 ?
> Note that we need to implement a locking mechanism for the Cache dir too.

Filed bug 197946.

Bug 74085 could depend on this. If we have a directory service provider
determine the location of the cache, we could put the logic there to make sure
that it defaults to a *local* directory. 
Depends on: 197946
Assignee: gordon → nobody
QA Contact: tever → networking.cache
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.