Home
Blog
Caddy Web Server
Updated
Dot Net Perls

Caddy Web Server

A lot of the times when I try out new software I am disappointed. It is hard to configure, it is too slow, or it is not an improvement over what I had before. But when I tested the Caddy web server, written in Go, I was pleasantly surprised.

Caddy is not exactly new software, as it has been around for a few years. With help from the official Caddy documentation, I was up and running on a test server within half an hour. I switched the live website to Caddy and there were no problems.

Caddy has some big advantages over other software like NGINX:

It supports HTTP3 by default, which gives a nice performance boost to site visitors.
It automatically gets an SSL certificate for the site—this eases the maintenance burden of running a modern web site.
It has other features, like built-in Zstd support, which can make a website faster and easier to develop.

I had an issue with the site, but it turned out to be a Linux server misconfiguration problem. I needed to enable swap pages so the server would not run out of memory. Caddy was never at fault, and it performed admirably given the broken system it was running on.

Dot Net Perls is a collection of pages with code examples, which are updated to stay current. Programming is an art, and it can be learned from examples.
Donate to this site to help offset the costs of running the server. Sites like this will cease to exist if there is no financial support for them.
Sam Allen is passionate about computer languages, and he maintains 100% of the material available on this website. He hopes it makes the world a nicer place.
An RSS feed is available for this blog.
Home
Changes
© 2007-2025 Sam Allen