diff options
| -rw-r--r-- | index.ts | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -98,6 +98,11 @@ const handleRequest = async (originalRequest) => { // ); // } + response.headers.set( + "cache-control", + "public, immutable, s-maxage=31536000, max-age=31536000, stale-while-revalidate=60" + ); + return new Response(response.body, { status: response.status, statusText: response.statusText, |