Just released Laravel-HTTP2-Push

Hi r/Laravel, I just released my first package, find it on GitHub [here](https://github.com/TomKeyte/Laravel-HTTP2-Push).

For anyone who doesn't know, server push is a feature of the HTTP2 spec, that allows a webserver to send resources to the client (cache) before the client knows it needs them - basically giving a little performance bump

I found setting up Server push quite hard, and couldn't find a package that implemented it, in a way that was aware of the cache, so I made my own 🙂 It makes it suuuper easy, as all you need to do is set up some config, and use the blade directive to push resources 🙂

Any thoughts/feedback also welcome 🙂

4 thoughts on “Just released Laravel-HTTP2-Push”

  1. When someone posts threads like these, announcing their first package, I like to browse through the code to see if there are any obvious issues or mistakes, and give some constructive criticism. Nope. Nothing. It’s almost hard to believe that this is your first package. You clearly know what you are doing.

    I only have one suggestion. Your readme has a great explanation of _what_ your package does, and how HTTP/2 Server Push works. But _how much_ of a performance boost should one expect in a production environment? How will it affect the Lighthouse score? Are there any rules of thumb to help me determine whether a specific resource should be pushed or not? I realize that the answer to all these questions are the same: “It depends”, but I’m sure there are plenty of great benchmarks and articles out there that you could link to.

    Tip of the hat to you, sir. Great job.

    Reply

Leave a Comment