Added caching to images

This commit is contained in:
Firq 2023-03-16 18:07:28 +01:00
parent 7b194c844e
commit a1c365ae05
Signed by: Firq
GPG key ID: 3ACC61C8CEC83C20
2 changed files with 14 additions and 1 deletions

13
serve.json Normal file
View file

@ -0,0 +1,13 @@
{
"headers": [
{
"source": "**/*.@(jpg|jpeg|gif|png|webp)",
"headers": [
{
"key": "Cache-Control",
"value": "max-age=7200"
}
]
}
]
}