Open Bug 926832 Opened 11 years ago Updated 2 years ago

HTTP cache v2: Time range to clear the cache is not respected

Categories

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

defect

Tracking

()

People

(Reporter: mihaelav, Unassigned)

References

Details

(Whiteboard: [necko-backlog])

Attachments

(1 file)

Attached file about:univtest addon (deleted) —
The new cache back end doesn't respect the selected time range to clean the cache. Prerequisites: 1. Turn the browser.cache.use_new_backend preference to 1 (and restart the browser) 2. Install the about:univtest addon Steps to reproduce: 1. Navigate to some pages to gather cached data (e.g webmail, news sites, social networks) 2. Wait for a while (more than 1 hour) 3. Navigate to new sites, different from the ones from step 1 4. Go to Options/Preferences > Privacy and click on the "clear your recent history" link 5. Select the time range to clear (Last Hour) and make sure "Cache" is selected in the details list 6. Click the "Clear Now" button 7. Check the cache (about:univtest) Expected result: Cached data from step 3 is removed. Cached data from step 1 is unaffected Actual result: All cache is cleared
Even the old one doesn't ;) This is not a regression, so not blocking anything. We delete the whole cache for all time ranges. This is mostly dep on the index.
Depends on: 923016
Blocks: cache2polish
No longer blocks: cache2afterenable
No longer blocks: cache2polish
Whiteboard: [necko-backlog]
Priority: -- → P1
Priority: P1 → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: