Combining Caddy with Nginx

If you have needs beyond what Caddy offers, you setup a reverse proxy to Nginx. Let’s look at an example where you would use Nginx for caching. I also added…

Read more

Serving WordPress with Caddy 2

I’ve been using Nginx for about a decade, and beyond using Varnish every now and then I haven’t really had the need to use anything else. Well, recently I started…

Read more

jQuery resize-end event

Recently I was asked about jQuery’s resize event. It runs its resize while the users resizes the window – meaning it can be triggered hundreds of times before ending the…

Read more

Internationalising date strings in Craft

When working with Craft CMS and translating strings, you might need to translate dates as well. After all, countries format these differently. For example, while the US often uses "month…

Read more

ACF lazy load Select options

Advanced Custom Fields is used a lot by WordPress developers, and it comes with a lot of handy fields. It’s also very developer friendly, for example giving the ability to…

Read more