Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better caching for Web bundles using Cache Digests for HTTP/2 #620

Open
dunglas opened this issue Feb 12, 2021 · 2 comments
Open

Better caching for Web bundles using Cache Digests for HTTP/2 #620

dunglas opened this issue Feb 12, 2021 · 2 comments
Assignees

Comments

@dunglas
Copy link

dunglas commented Feb 12, 2021

Cache Digests could be practical for Web bundles: using them, it could be possible to "Server Push" the web bundle, and the server could include in the pushed bundle only what isn't already in the cache of the browser. So we (theoretically) could have the best of both approaches; a good compression, one less RTT and a good hit rate.

Is it something we should investigate? (I initially discussed this privately with @KenjiBaheux in discussions related to the removal of Server Push from Chrome.)

@sleevi
Copy link

sleevi commented Feb 12, 2021

There are a number of security and privacy concerns with Cache Digests that make them unlikely to be implemented.

@jyasskin
Copy link
Member

@yoavweiss and @littledan are working on a way to serve just the parts of the bundle that aren't in cache. I'll let them point at their latest design sketches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants