WebPagetest Forums
iOS HTTP2 PUSH not working? - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: WebPagetest (/forumdisplay.php?fid=7)
+--- Forum: Bugs/Issues (/forumdisplay.php?fid=10)
+--- Thread: iOS HTTP2 PUSH not working? (/showthread.php?tid=15856)

iOS HTTP2 PUSH not working? - Pet - 08-06-2019 04:01 AM

Is there a known issue with iOS and PUSHing .css files?

Here are some successful tests with no PUSH:
Chrome: https://www.webpagetest.org/result/190805_GJ_f2c08b8d1da5423f51a5b4c46b38146c/
iPhone6 iOS12:

in my Apache config I turn on PUSH (basically I PUSH only if the user does not have a cookie from me yet, ie: their first visit to the site):

<If "-z req('Cookie')">
H2PushResource /images3/m6b.png
H2PushResource /i/h_bg2.png
H2PushResource /i/som_b.png
H2PushResource /resources/template7ad.css
H2PushResource /resources/template7m.js

And here are the results:
Chrome: https://www.webpagetest.org/result/190805_EK_b11c7fb9d9f5ffb5687d0f5f9c3bb49f/
iOS: https://www.webpagetest.org/result/190805_4R_315f4ece34800531d125dc8bcbc9978c/

This mimics real world results on actual devices.... notice that the PUSH in the waterfall for iOS for the .css is not color coded as css but as html. Viewing the response header (in Chrome) it is being sent as text/css, iOS shows no header. Normal <link> tags are in the HTML that didnt change from the working examples I posted first, this seems to indicate the iOS devices know the resource is loaded via the PUSH and doesnt try to load it when it gets to the <link> in the HTML.

Please note the change from iPhone to iPad in the examples above was due to webpagetest not responding to my iPhone request in the 2nd example, but I assure you the results are the same, I tested it extensively earlier today.

Any insights on this?