Closed Bug 72514 Opened 24 years ago Closed 24 years ago

add 2 level soft/hard cache size limits to preferences

Categories

(Core :: Networking: Cache, defect, P2)

defect

Tracking

()

VERIFIED WONTFIX
mozilla0.9.1

People

(Reporter: gordon, Assigned: gordon)

References

Details

(Whiteboard: [cache])

We need to add preferences for a soft and hard cache size limits. The cache 
device will obey the soft limit in a quiescent state.  Open cache entries may 
cause the soft limit to be exceeded.  The hard limit is absolute.

These preferences may be set by the user or automatically calculated or set by 
the embedder (browser).
Status: NEW → ASSIGNED
Whiteboard: [cache]
Target Milestone: --- → mozilla0.9
Priority: -- → P2
is this why disk cache size pref doesn't work anymore? (I have set it to 5000K,
but just found 55MB of files worth in NewCache dir.)
Yes, the disk cache doesn't obey preferences yet.
Blocks: 68705
Depends on: 63539
*** Bug 75401 has been marked as a duplicate of this bug. ***
Disk cache now evicts when it hits the preference limit.  Changes need to be made 
in how the memory cache interprets the preference setting and how it reports 
totals in about:cache.

Additional cache preference clean up is scheduled for 0.9.1
Target Milestone: mozilla0.9 → mozilla0.9.1
Providing UI for the soft/hard cache limits could be very confusing for users.  
The cache still uses these concepts, and they can be tuned by embedders, but we 
should just "do the right thing" for desktop users.

Marking this bug WONTFIX.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Verified WONTFIX.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.