Archive for the ‘Performance’ Category

Help Your Users `Save-Data`

Posted on: No Comments
The breadth and depth of knowledge to absorb in the web performance space is ridiculous. At a minimum, I'm discovering something new nearly every week. Case in point: The Save-Data header, which I discovered via a Google Developers article by Ilya Grig...

Are Bitwise Operators Still Relevant in Modern PHP?

Posted on: No Comments
Many of you probably scratched your heads reading this title. "Bitwhat?" In this article, we'll look at what bitwise operators are, and whether or not their use is still relevant in this modern age of computing. Example Use Case I'd been trying to rea...

Using the Paint Timing API

Posted on: No Comments
It's a great time to be a web performance aficionado, and the arrival of the Paint Timing API in Chrome 60 is proof positive of that fact. The Paint Timing API is yet another addition to the burgeoning Performance API, but instead of capturing page and...

The Critical Request

Posted on: No Comments
Serving a website seems pretty simple: Send some HTML, the browser figures out what resources to load next. Then we wait patiently for the page to be ready. Little may you know, a lot is going on under the hood. Have you ever wondered how browser figu...

How to Add Real-Time Notifications to Laravel with Pusher

Posted on: No Comments
The modern web user expects to be informed of everything that happens within the application. You don’t want to be that one website that doesn’t even have the notifications dropdown found not just in all social media websites, but everywher...

Musings on HTTP/2 and Bundling

Posted on: No Comments
HTTP/2 has been one of my areas of interest. In fact, I've written a few articles about it just in the last year. In one of those articles I made this unchecked assertion: If the user is on HTTP/2: You'll serve more and smaller assets. You’ll avoid s...

The Theory of Constraints in PHP

Posted on: No Comments
I had been reading The Phoenix Project, a great novel about IT (you read that right), which presents day to day IT and devops problems at a large Amazon-like company in a way which makes mortals understand the complexities and chaos of 21st century tec...

How to Defend Your Website with Zip Bombs

Posted on: No Comments
If you have ever hosted a website or even administrated a server, you'll be very well aware of bad people trying bad things with your stuff. When I first hosted my own little linux box with SSH access at age 13, I read through the logs daily and report...

How to Build a Lyrics Website with Laravel Scout and Algolia

Posted on: No Comments
Laravel Scout is a driver-based library for adding full-text search to Eloquent models. If you're not familiar with Laravel or Eloquent models in general, we have a good premium course available here. In this tutorial, we will create a minimal lyrics w...