Cache all image assets in Caddy with a Cache-Control directive

Turns out AVIF images, which I serve to all modern browsers visiting my site, weren’t included in the cache TTL that I use for all my static assets, oops.

Here’s the updated cache control header for my caddy webserver:

# Cache Control
# The 'file' directive ensures that cache-control is only set for files that actually exist

@static {
	file
	path *.avif *.ico *.css *.js *.gif *.jpg *.jpeg *.png *.svg *.woff *.woff2 *.gpx
}
header @static Cache-Control max-age=5184000