Post header image

Practical PHP/Twig implementation for HTTP/2 Server Push

HTTP/2 offers many advantages over legacy protocols like HTTP/1.1. One of those features is Server Push, a way to push assets to the client before the server supplies the requested HTML document. This allows for faster load-times for critical assets. In this example I will be using the Caddy webserver, however modern Apache 2 and nginx versions also support Sever Push and HTTP/2.
calendar icon2019-02-01
user iconWritten by Benjamin Räder
Post header image

New year, new blog

With a new year comes a new server (now Debian 9 wooo!) and a new blog system built on craft 3.

Right of the bat I faced multiple challenges deploying this new blog because of a wonderful bug that causes the locking of project.yaml to not work in production environments. Long story short I had to reinstall this blog four times before it actually working.

The blog is served by Caddy which is awesome! It provides HTTPS with Let's Encrypt and HTTP2 with zero configuration. Here is what my setup looks like:

calendar icon2019-01-30
user iconWritten by Benjamin Räder
Search
GitHubRSS
About background image
About

I'm Benjamin a 27 year old programmer from Vienna, Austria. My main focus is web development, hybrid App development and a bit of Linux system administration.

This blog contains everything I'm interested in. Programming, Linux, Networking, Languages, Books and Politics. Feel free to shoot me a message if you have any questions.

My blog is open-source and can be found on GitHub.