nghttpx: Interleave text/html pushed resources with associated resource
This commit is contained in:
parent
6b12f17f44
commit
d8c8a4631d
|
@ -1558,7 +1558,9 @@ int Http2Upstream::adjust_pushed_stream_priority(Downstream *downstream) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!util::istarts_with_l(ct->value, "application/javascript") &&
|
if (!util::istarts_with_l(ct->value, "application/javascript") &&
|
||||||
!util::istarts_with_l(ct->value, "text/css")) {
|
!util::istarts_with_l(ct->value, "text/css") &&
|
||||||
|
// for polymer...
|
||||||
|
!util::istarts_with_l(ct->value, "text/html")) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue