Make your app fly with PHP OPcache

Recently this button to optimize PHP’s OPcache was added to Laravel Forge. If you were wondering what PHP OPcache is all about and what pressing this button does with your application, read this article Olav van Schie wrote on the subject a while ago. Every time you execute a PHP script, the script needs to […]

Continue reading →

Master the Chrome DevTools

For quite some time, I’ve been enjoying the DevTools tips that Umar Hansa mails out weekly. I was happy to learn that Umar is also working on a video course focussing on the DevTools. Recently the first video, on image performance on the web, was released. Check out the course here: https://moderndevtools.com/ Freek Van der […]

Continue reading →

A tool for making JavaScript code run faster

Even though I’don’t like Facebook as a user, their amazing contributions to open source are something to be very grateful for. Last week they presented their new work in progress: Prepack. Prepack is a tool that optimizes JavaScript source code: Computations that can be done at compile-time instead of run-time get eliminated. Prepack replaces the […]

Continue reading →

Moving from PHP (Laravel) to Go

Danny Van Kooten did an interesting experiment. He completely rewrote an Laravel app to a version in Go. In a post on his blog he shares some details about his project along with some benchmarks. Earlier this year, I made an arguably bad business decision. I decided to rewrite the Laravel application powering Boxzilla in […]

Continue reading →

Getting started with Varnish Cache

If you want to learn Varnish Thijs Feryn wrote a book for you. It’s free to download until 7th March 2017. Getting Strated with Varnish Cache is a technical book about the Varnish caching technology. Varnish is a so-called reverse caching proxy that acts as an intermediary between the browser and the webserver. Varnish stores […]

Continue reading →

Optimizing PHP performance by using fully-qualified function calls

A fully qualified function name is a little bit faster than a non-qualified one. Toon Verwerft explains it all in his lastest blogpost. Today, a little conversation on Twitter escalated rather quickly. Apparently PHP runs function calls differently depending on namespaced or non namespaced context. When calling functions in a namespaced context, additional actions are […]

Continue reading →

Improving the performance of our PHP based crawler

Today a new major version of our homegrown crawler was released. The crawler is used to power our http-status-check, laravel-sitemap and laravel-link-checker packages. A new major feature is the greatly improved crawling speed. This was accomplished by leveraging multiple concurrent requests. Let’s take a look at the performance improvements gained by using concurrent requests. In […]

Continue reading →

Varnish explained

Varnish is a piece of software that, amongst other things, can make your website much faster. In a new post on his blog, Mattias Geniar tells you all about it. Varnish can do a lot of things, but it’s mostly known as a reverse HTTP proxy. It brands itself as an HTTP accelerator, making HTTP […]

Continue reading →

What’s in store for PHP performance?

Jani Tarvainen explains where PHP is heading performance-wise. PHP 7.0 was a leap in performance that came with very easy adoption. Simply verify compatibility with the version and upgrade your server environment. Speeding up many older architecture apps like WordPress and Mediawiki by a factor of two is a testament to backwards compatibility. In 7.1, […]

Continue reading →

Understanding generated columns

Generated columns where introduced in MySQL 5.7. In the latest post on her blog Gabriela D’Ávila explains the feature. There are two types of Generated Columns: Virtual and Stored. … Consider using virtual columns for data where changes happens in a significant number of times. The cost of a Virtual Column comes from reading a […]

Continue reading →

Anonymous classes benchmarked

Mark Baker made some fascinating benchmarks on the performance of PHP 7’s anonymous classes. A week or so ago, I published an article entitled “In Search of an Anonymous Class Factory” about my efforts at writing a “factory” for PHP7’s new Anonymous Classes (extending a named concrete base class, and assigning Traits to it dynamically); and about how I […]

Continue reading →