Add stale control header to statics

pull/282/head
Amio 2019-06-07 21:35:20 +08:00
rodzic 349e78f41b
commit c017a40fd5
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -28,7 +28,7 @@ const serveStaticHeaders = [
source: "**/*",
headers: [{
key: "Cache-Control",
value: "public, max-age: 86400, s-maxage: 86400"
value: "public, max-age=86400, s-maxage=86400, stale-while-revalidate=86400"
}]
}
]