diff --git a/server/routes/types.go b/server/routes/types.go index 6569b74..0e2a9c6 100644 --- a/server/routes/types.go +++ b/server/routes/types.go @@ -23,6 +23,7 @@ func RenderWithContentType[T any](w http.ResponseWriter, r *http.Request, conten } // Set strong ETag + // NOTE: the ngx_brotli nginx module appears to weaken strong ETags (even though gzipping is fine) w.Header().Set("ETag", `"`+etag+`"`) // As a default, set Cache-Control to no-cache, which allows revalidation via ETag