Closed
Bug 741678
Opened 12 years ago
Closed 11 years ago
Opening of offline cache entry for write delays reading of entry from the nomal cache and/or from the net
Categories
(Core :: Networking: HTTP, enhancement)
Core
Networking: HTTP
Tracking
()
RESOLVED
FIXED
mozilla27
People
(Reporter: briansmith, Assigned: mayhemer)
References
Details
(Keywords: perf, Whiteboard: [Snappy:P3])
Our logic is something like this: * Open a normal cache entry. * If offline caching of the resource was requested, then open the offline cache * Validate the normal cache entry, if any. * Hit the net if necessary. The logic should be reordered thusly: * Open a normal cache entry. * Validate the normal cache entry, if any. * Hit the net if necessary. * If we have something to write to the offline cache, and offline caching of the resource was requested, then open the offline cache My understanding is that it is rare for an entry to be marked as needing to be written to the offline cache, so this shouldn't be a high priority relative to the other cache performance bugs.
Assignee | ||
Comment 1•12 years ago
|
||
This doesn't have IMO a high priority. This (writing to offline cache) is done in background during the offline app cache update process and doesn't have a high probability of interacting with other requests in bursts during e.g. a front tab page load.
Updated•12 years ago
|
Whiteboard: [Snappy] → [Snappy:P3]
Assignee | ||
Updated•12 years ago
|
Summary: Opening of offline cache delays reading of entry from the nomal cache and/or from the net → Opening of offline cache entry for write delays reading of entry from the nomal cache and/or from the net
Assignee | ||
Comment 2•11 years ago
|
||
Fixed by 913807.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•