Current time: 10-23-2019, 07:09 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
iOS HTTP2 PUSH not working?
08-06-2019, 04:01 AM
Post: #1
iOS HTTP2 PUSH not working?
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/19080...46b38146c/
iPhone6 iOS12:
https://www.webpagetest.org/result/19080...7b2da31bc/

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
</If>

And here are the results:
Chrome: https://www.webpagetest.org/result/19080...f9c3bb49f/
iOS: https://www.webpagetest.org/result/19080...bcbc9978c/

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?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)