0e7b256d

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Cache embedded static assets for 30 minutes (#42)

Add Cache-Control and ETag headers to embedded static asset responses so
browsers can keep assets fresh for 30 minutes and revalidate efficiently
with 304 Not Modified responses after that.

This keeps the change localized to the static file handler instead of
threading asset versioning through templates and routes.

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/42
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>
configuredevShellbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-trailing-newlinecheck-trailing-whitespacediagramdocker-imagee2e-testsgo-testsimport-from-tinybeanslint-sqllittle-momentslittle-moments-devx86_64-linux