Title: HTTP2 Server push
Last modified: January 6, 2017

---

# HTTP2 Server push

 *  Resolved [Grzegorz.Janoszka](https://wordpress.org/support/users/grzegorzjanoszka/)
 * (@grzegorzjanoszka)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http2-server-push-2/)
 * I am sooo happy with your plugin you have no idea 🙂 I love it. It just does 
   the job.
 * My website works on ssl and http2 and I tried to implement HTTP/2 Server Push
   by installing a plugin with the same name. That plugin does the job – it does
   output into HTTP headers lines like:
 * Link: </wp-content/themes/twentyfourteen/style.css>; rel=preload; as=style
 * The only issue is it doesn’t understand what Autoptimize does and it outputs 
   all the original styles and scripts, while later on in HTML source I had other
   styles/scripts – from Autoptimize.
 * I thought of tinkering with that – maybe it is just a priority/order of actions
   or filters? But later on I thought: why do I need a separate plugin for HTTP/
   2 Server push if this great plugin (Autoptimize) could do that for me?
 * I think it should be relatively simple to add a line to headers with the scripts,
   like:
 * Link: </wp-content/cache/autoptimize/css/autoptimize_855e2f5104ae96a6bd1ce04f7385ba49.
   css>; rel=preload; as=style
 * What do you think about it? In my opinion it would just add more awesomeness 
   to this plugin 🙂
 * Thanks for your support and considering this idea.
 * If for some reasons you don’t want to implement server push, would you make it
   easier for me? Is there any way for my plugin to get a URL list of all autoptimized
   scripts and styles?
 * Thank you in advance.

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http2-server-push-2/#post-8626790)
 * the reason is that the HTTP/2 push plugin probably works by reading the wordpress
   CSS & JS queue, which is irrelevant when using AO.
 * adding HTTP/2 push headers is on the roadmap for a next AO-version (albeit probably
   behind a filter that defaults to false). but if you [look here](https://github.com/futtta/autoptimize/issues/49),
   you mind find some info on what might (not) come to AO and ideas of how to do
   it immediately with but a couple of lines of code 😉
 * have a nice weekend,
    frank
 *  Thread Starter [Grzegorz.Janoszka](https://wordpress.org/support/users/grzegorzjanoszka/)
 * (@grzegorzjanoszka)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/http2-server-push-2/#post-8627004)
 * Amazing! I will go through that thread but I think I will accomplish my goal.
   
   Anyway I am really looking forward to see that functionality in Autoptimize (
   if that’s so easy). Thank you again!
 *  [Gberk](https://wordpress.org/support/users/gberk/)
 * (@gberk)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/http2-server-push-2/#post-9015609)
 * Any idea if and when HTTP/2 push headers will be in a next AO-version? Would 
   be awesome!
 *  Plugin Author [Frank Goossens](https://wordpress.org/support/users/futtta/)
 * (@futtta)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/http2-server-push-2/#post-9015630)
 * if; probably they will, one day
    when; one day
 * 😉
 * frank
 *  [Gberk](https://wordpress.org/support/users/gberk/)
 * (@gberk)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/http2-server-push-2/#post-9015748)
 * Lol ok thanks! 🙂
 *  Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/http2-server-push-2/#post-9359889)
 * Was just looking into using AO and HTTP2. Supporting server push headers sounds
   like a great idea!
 *  [Gberk](https://wordpress.org/support/users/gberk/)
 * (@gberk)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/http2-server-push-2/#post-9359961)
 * Do I hear it creeping up the productbacklog there, Frank? 😉
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/http2-server-push-2/#post-9360126)
 * Well, all is in place in the API, have a look at [this page on how you can use that API to HTTP/2 push your AO’d files and jQuery](https://github.com/futtta/autoptimize/issues/49)
   🙂
 * Regarding productbacklog; I’ll probably create a premium HTTP/2 AO power-up which
   will include HTTP/2 push and some other advanced optimizations. well, it’s on
   my todo-list at least … 😉
 *  Anonymous User 14978628
 * (@anonymized-14978628)
 * [8 years, 10 months ago](https://wordpress.org/support/topic/http2-server-push-2/#post-9361474)
 * > premium HTTP/2 AO power-up
 * Yeah, i’d go for that.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘HTTP2 Server push’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

 * [HTTP/2](https://wordpress.org/support/topic-tag/http2/)

 * 9 replies
 * 5 participants
 * Last reply from: Anonymous User 14978628
 * Last activity: [8 years, 10 months ago](https://wordpress.org/support/topic/http2-server-push-2/#post-9361474)
 * Status: resolved