July 2, 2018
Varnish Cache is an HTTP accelerator and reverse proxy developed by Danish consultant and FreeBSD core developer Poul-Henning Kamp, along with other developers at Norwegian Linpro AS. It was released in 2006.
According to Pingdom.com, a company focused on web performance, in 2012 Varnish was already famous among the wo...
November 28, 2016
If you’ve been reading at all about HTTP/2, then you’ve likely heard about server push. If not, here’s the gist of it: Server push lets you preemptively send an asset when the client requests another. To use it, you need an HTTP/2-capable web server, and then you just set a Link header for the asset ...
September 30, 2016
It’s that time of year again – DigitalOcean’s Hacktoberfest is starting!
It’s a month-long open source effort when people are encouraged to contribute to various open source projects (not their own!). Anyone who opens 4 pull requests (even documentation fixes count!) gets a T-shirt at the end of...
August 8, 2016
We previously looked at some essential Grav plugins with which to round off the installation of a personal blog. In this post, we’ll take a look at some additional, advanced plugins, as well as other tweaks we can apply.
Once a blog has enough posts, user retention becomes more difficult – as...
July 27, 2015
We’ve gone through the basics of Redis in PHP before, but it’s time to cover a real life use case. In this tutorial, we’ll add it to an already deployed application to give the app the appearance of speed.
You can easily follow along by cloning the 0.6 release of the app.
Before applying a solution, ...
Previously, we looked at some common caching mechanisms we can easily utilize to make our apps faster. In this part, we’ll walk through some of the additional software that we can use with PHP for caching.
Memcached is an in-memory key-value store. You can use it to store things like strings, numeric value...
July 11, 2015
In this article, we will be looking at some of the common caching techniques in PHP: Opcache, Expires Headers and Query Caching in MySQL. We’ll look at additional approaches in part 2.
PHP’s Request Lifecycle
Before we move on, it’s important to understand PHP’s request lifecycle. What happens behind the scene...