Subject: Re: [httpwg/http-extensions] Overhead in cache digest algorithm (#264)

From: HTTP issue updates <[email-masked]>
Date: Sun, 13 Nov 2016 17:56:47 -0800

Thank you for your suggestions.

> __De-dupe URLs before hashing them__

Is it likely that there'd be lot of freshly-cached (or stale-cached) responses sharing the same URL?

My assumption is that the answer is no, and that we do not need to recommend deduping the URLs before hashing (note: deduplication after hashing and truncating would still be necessary even if you dedupe the URLs beforehand).

If the answer is yes, then we should consider including additional keys into the hash context so that the server can more correctly identify what is being cached.

> __Trim URL origin__

I agree that we can trim the origin part of the URL, since in the latest draft we have an origin field for every CACHE_DIGEST frame.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/httpwg/http-extensions/issues/264#issuecomment-260231689