Skip to content

Conversation

@kazuho
Copy link
Member

@kazuho kazuho commented Jun 2, 2015

At the moment, Chrome falls behind Firefox in prioritizing the asset files, as discussed in http://blog.kazuhooku.com/2015/04/dependency-based-prioritization-makes.html.

This PR implements a workaround in the server-side by raising the priority to maximum of requests that are likely against asset files. The reprioritization is not applied to HTTP2 connections that use priority trees (e.g. Firefox).

kazuho added 4 commits June 2, 2015 16:13
… for push etc.)

note: no need to check if weight is above 256 for network input, since it comes in as a single-byte value (bet. 1 and 256)
kazuho added a commit that referenced this pull request Jun 2, 2015
reprioritize blocking asset files (`.js`, `.css`) for Chrome
@kazuho kazuho merged commit 7048056 into master Jun 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants