Bug: HTTP/2 Push Not Working with CDN
-
Hi,
I had already reported this issue, but received no response. I hope, this time you find this.
Steps to reproduce the bug
1. Assuming, you have already configuredcdn.example.comvia W3TC plugin
2. Go to Minify > Enable HTTP/2 push for CSS and JS > Purge Cache
3. See HTTP header for the Document request and console logsProof of Concept
1. Link header
link:</wp-content/cache/minify/a1290.js>; rel=preload; as=script, </wp-content/cache/minify/2b222.css>; rel=preload; as=style2. Console logs.
The resource
https://www.example.com/wp-content/cache/minify/2b222.csswas preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it wasn’t preloaded for nothing.The resource
https://www.example.com/wp-content/cache/minify/a1290.jswas preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it wasn’t preloaded for nothing.Expected
1. Link header
link:<https://cdn.example.com/wp-content/cache/minify/a1290.js>; rel=preload; as=script, <https://cdn.example.com/wp-content/cache/minify/2b222.css>; rel=preload; as=styleThis must be fixed early.
Thanks & Regards,
Gulshan
The topic ‘Bug: HTTP/2 Push Not Working with CDN’ is closed to new replies.