Skip to main content

Posts

Showing posts from August, 2017

HTTP2 Server Push in Apache2

Server Push is one of the most significant features in the HTTP/2 protocol. In this post, We will see a very simple demo of the Server Push feature using HTTP/2. Below is the list of tools and tech used in the demo. Ubuntu 16.04 Chrome 60.0.3112.101 Apache2 Some browsers require TLS 1.2 to support HTTP/2. So We need to configure https on Apache server. Try to open the URL https://localhost in your browser. If the above URL not responding, It means you need to configure HTTPS on your Apache server. Please refer to the digital ocean page. https://www.digitalocean.com/community/tutorials/how-to-create-a-ssl-certificate-on-apache-for-ubuntu-14-04 I hope the URL https://localhost is working now and We can proceed further. We will do it into 2 parts. Part-I: We will just enable the HTTP/2 protocol Part-II: We will configure server push feature Part-I: Enable HTTP/2 First, check the below points. Make sure you have the http2 module in your apache. Naviga