Closed Bug 913811 Opened 11 years ago Closed 11 years ago

HTTP cache v2: store frecency to cache entries

Categories

(Core :: Networking: Cache, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 924116

People

(Reporter: mayhemer, Assigned: mayhemer)

Details

(Whiteboard: [cache2])

Attachments

(1 file, 2 obsolete files)

I think of adding a new specialized properties to CacheFileMetadata beside Set/GetExpirationTime.
Depends on: 924116
Attached patch v1 (obsolete) — Splinter Review
Attachment #8336185 - Flags: review?(michal.novotny)
Attached patch v2 (persist as int) (obsolete) — Splinter Review
Attachment #8336846 - Flags: review?(michal.novotny)
Comment on attachment 8336846 [details] [diff] [review] v2 (persist as int) Review of attachment 8336846 [details] [diff] [review]: ----------------------------------------------------------------- ::: netwerk/cache2/CacheEntry.cpp @@ +337,5 @@ > > + uint32_t frecency; > + mFile->GetFrecency(&frecency); > + // mFrecency is held in a double to increase computance precision. > + // It is ok to persist frecency only as a float (single precision). float -> uint32_t
Attachment #8336846 - Flags: review?(michal.novotny) → review+
Attached patch v2.1Splinter Review
Thanks. I'll land this after I have a plan for the frecency decay time decision testing patch (bug 924116).
Attachment #8336185 - Attachment is obsolete: true
Attachment #8336846 - Attachment is obsolete: true
Attachment #8336185 - Flags: review?(michal.novotny)
Attachment #8336864 - Flags: review+
Blocks: 924116
No longer depends on: 924116
No longer blocks: 913808
This should land together with bug 924116.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
No longer blocks: 924116
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: