Closed Bug 1614619 Opened 10 months ago Closed 9 months ago

Eviction algorithm should first evict entries of a content type that’s above a limit

Categories

(Core :: Networking: Cache, task, P1)

task

Tracking

()

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: michal, Assigned: michal)

References

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

CacheIndex::GetEntryForEviction() should check whether some content type is over its limit and if so, return an entry with this content type.

This patch implements limit for media content type in the cache. When we need to evict something from the cache and media is over the limit, it's evicted first.

Pushed by mnovotny@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bbc2d5705a2b
Eviction algorithm should first evict entries of a content type that’s above a limit r=valentin
Status: NEW → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla75
You need to log in before you can comment on or make changes to this bug.