Archive for the ‘cache’ Category

Creating a Cache-aware HTTP/2 Server Push Mechanism

Posted on: No Comments
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, ...

Sourcehunt September – Hacktoberfest Edition

Posted on: No Comments
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 documentatio...

6 More Must-Do Grav Tweaks: Ready for Hacker News Traffic!

Posted on: No Comments
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. Related Pages Once a blog has ...

Speeding up Existing Apps with a Redis Cache

Posted on: No Comments
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 ...

Caching Hat-trick: Varnish, Memcached and PHP libraries

Posted on: No Comments
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 Memcached is an in-memory key-val...

Caching Hat-trick: Zend Opcache, Etags and Query Caching

Posted on: No Comments
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...