Skip to main content
Dublin Library

The Publishing Project

Home

Critical Path CSS

I've been looking at Critical Path CSS again as I work trying to improve the performance of this blog. The idea behind Critical Path CSS (from now on, just Critical Path) is that we inline the CSS...

Gulp and AVIF, part 2

Using the default encoder and settings, as described in Compressing AVIF images with Gulp, got the task running and produced the result we wanted: AVIF images that were smaller than the source image...

Compressing AVIF images with Gulp

Now that AVIF support is enabled by default in Chrome stable (85) and Firefox (behind a flag) we really should look at how to encode images to AVIF as part of a build workflow. In my normal workflow,...

Is performance all that matters?

One thing that has struck me over the last few years is our obsession with fast. The faster, the better, right? I've become interested in how do we define fast and whether performance is the only...

Passing flags and arguments to Gulp

There are times when we want to do different things based on whether we're creating code for production or development. This is based on the example from the Gulp documentation. We'll use this as the...

Automating WordPress Translations

One of the strong points of WordPress is that it's easy to translate the tool itself. As discussed in Translating WordPress Themes the process for translating WordPress elements is as follows: Add a...

Archive Navigation