• Resolved grantdb

    (@sixer)


    Me again hehe! Just upgraded my site to http2 and found the resource hints a little less useful as compared to the new server push being implemented in http2.

    Server Push (HTTP/2) w3 specs

    Maybe this plugin can have an option for this? Just an idea.

    For example:

    <link rel="preload" href="https://cdn.jsdelivr.net/jquery/1.12.4/jquery.min.js" as="script" crossorigin type="text/javascript">

    It works great in Chrome and I leave the call for that resource as a regular wp_enqueue_script and browsers that support the server push load it in the background and then ignore the regular enqueue. Other browsers ignore the server push and enqueue as usual.

    Cheers!

Viewing 1 replies (of 1 total)
  • Plugin Author Sam Perrow

    (@samperrow)

    Hey Grant. Sorry for the delay- yes that would be a cool idea, however I really do not have the time available to develop that capability. If you or someone you know would like it added, I’d have no problem putting it in the plugin and make the proper attributions.

Viewing 1 replies (of 1 total)
  • The topic ‘Server Push preload idea’ is closed to new replies.