Skip to main content
Dublin Library

The Publishing Project

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...

Updating a service worker using Workbox

In my layouts site I use Workbox as an abstraction to create a service worker. I created the service worker with version 3 of the library and it was good. The problem is that the longer it passes the...

Archive Navigation