Website Content Optimization
Using HTTP/2 Server Push with PHP

Using HTTP/2 Server Push with PHP

5/13/2016 · John Graham-Cumming

What this post added

This post details how to implement HTTP/2 Server Push using PHP by adding `Link` headers to HTTP responses. It demonstrates a practical example of pushing images to a browser, showing a significant reduction in page load time (from 651ms to 251ms) through waterfall analysis and internal Chrome network logs. The post encourages experimentation with Server Push for various resource types and highlights its effectiveness when pushed resources are already cached by Cloudflare.

Read the original post ↗