diff options
Diffstat (limited to 'libs/lucid-http')
-rw-r--r-- | libs/lucid-http/luasrc/lucid/http/handler/file.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/lucid-http/luasrc/lucid/http/handler/file.lua b/libs/lucid-http/luasrc/lucid/http/handler/file.lua index 8f7bf8b8a..4f29c8bd2 100644 --- a/libs/lucid-http/luasrc/lucid/http/handler/file.lua +++ b/libs/lucid-http/luasrc/lucid/http/handler/file.lua @@ -135,6 +135,7 @@ function Simple.handle_GET(self, request) end local headers = { + ["Cache-Control"] = "max-age=29030400", ["Last-Modified"] = date.to_http( stat.mtime ), ["Content-Type"] = mime.to_mime( file ), ["ETag"] = etag, |