Laravel: Reusing a HTTP/2 connection

No need to let the connection go from your server

Photo by SpaceX on Unsplash

The secret recipe

1) Let’s use cURL for this

A set of PHP extension in the INI file.

2) Let’s use HTTP/2

3) Let’s reuse the connection

Some servers don’t play nice

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Italo Baeza Cabrera

Graphic Designer graduate. Full Stack Web Developer. Retired Tech & Gaming Editor. https://italobc.com