mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-02-22 22:03:30 +08:00
caching json for an hour
This commit is contained in:
parent
5ef5828884
commit
cfde418848
1 changed files with 9 additions and 0 deletions
|
@ -55,6 +55,15 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "**/*.@(json)",
|
||||
"headers": [
|
||||
{
|
||||
"key": "Cache-Control",
|
||||
"value": "max-age=3600"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"source": "/service-worker.js",
|
||||
"headers": [
|
||||
|
|
Loading…
Reference in a new issue