aboutsummaryrefslogtreecommitdiff
path: root/pkg/handler
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/handler')
-rw-r--r--pkg/handler/static/handler.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/handler/static/handler.go b/pkg/handler/static/handler.go
index 0973d75..361f690 100644
--- a/pkg/handler/static/handler.go
+++ b/pkg/handler/static/handler.go
@@ -23,7 +23,7 @@ func ServeStaticHandler() (ext.ErrorRequestHandler, error) {
m = mime.TypeByExtension(e)
)
ext.SetMIME(w, m)
- w.Header().Add("Cache-Control", "immutable")
+ w.Header().Add("Cache-Control", "max-age=31536000")
http.ServeFileFS(w, r, staticFs, f)
return nil
}, nil