Closed Bug 1025071 Opened 11 years ago Closed 11 years ago

Don't index :path field in hpack

Categories

(Core :: Networking: HTTP, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: u408661, Assigned: u408661)

Details

(Whiteboard: [spdy])

Attachments

(1 file)

In order to save space in the table for things that we're more likely to reuse. We should get some real data on this to see if there are any situations in which it makes sense to index :path. FWIW (which is basically nothing), my totally non-scientific survey of XHRs running on my desktop indicated that there were a lot of paths with long, changes-every-time query strings, so it's not looking good for :path. Also, according to HTTPArchive data from bigquery, only about 85% of paths are under 100 characters in length, meaning we'll have a decent amount of paths that take up a LOT of space (this is true for both desktop and mobile) causing evictions of things that may be more useful in the future. However, we don't currently have data on reuse of those paths, so it could be that the savings we would get from indexing them might outweigh the need to periodically re-send things like user-agent or accept-language. It occurs to me just now that we might also want to contemplate not indexing referer, though I (totally non-scientifically) suspect that might have a higher reuse rate than :path.
Attachment #8440022 - Flags: review?(mcmanus) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: