The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 802 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.1 (Linux)
File Line Function
/showthread.php 802 errorHandler->error



Current time: 11-13-2019, 05:27 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
HTTP2 PUSH media queries not working
06-08-2017, 08:59 PM
Post: #1
HTTP2 PUSH media queries not working
when I use the HTTP Link header, e.g. as seen here: https://phabricator.wikimedia.org/phame/...rce_hints/

Link: </static/images/project-logos/enwiki.png>;rel=preload;as=image;media=not all and (min-resolution:1.5dppx),</static/images/project-logos/enwiki-1.5x.png>;rel=preload;as=image;media=(min-resolution:1.5dppx) and (max-resolution:1.999999dppx),</static/images/project-logos/enwiki-2x.png>;rel=preload;as=image;media=(min-resolution:2dppx)


Webpagetest.org will HTTP Push ALL files, not only those that would apply.
When testing it in Chrome on my laptop, it works fine however.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HTTP2 PUSH media queries not working - DuckDagobert - 06-08-2017 08:59 PM

Forum Jump:


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