Skip to content

Commit 28221b4

Browse files
committed
Reduce skills.json cache to 60 seconds
1 parent 079d9b6 commit 28221b4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

website/worker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ async function fetchSkillsConfig(ctx) {
481481
const cacheResponse = new Response(JSON.stringify(config), {
482482
headers: {
483483
'Content-Type': 'application/json',
484-
'Cache-Control': 'public, max-age=3600'
484+
'Cache-Control': 'public, max-age=60'
485485
}
486486
});
487487
ctx.waitUntil(cache.put(cacheUrl, cacheResponse));

0 commit comments

Comments
 (0)