Added caching to images
This commit is contained in:
parent
7b194c844e
commit
a1c365ae05
2 changed files with 14 additions and 1 deletions
13
serve.json
Normal file
13
serve.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"headers": [
|
||||
{
|
||||
"source": "**/*.@(jpg|jpeg|gif|png|webp)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "max-age=7200"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue