summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-01-22 21:26:09 -0800
committerFuwn <[email protected]>2024-01-22 21:26:09 -0800
commit570fd5ea1efdbff1ab6b3241ec5c374dcb8eebd1 (patch)
tree2fa3607fb6caa5b7de2d48d8e68784d5698d96e1
parentfeat(index.ts): Cache-Control (diff)
downloadcdn.due.moe-570fd5ea1efdbff1ab6b3241ec5c374dcb8eebd1.tar.xz
cdn.due.moe-570fd5ea1efdbff1ab6b3241ec5c374dcb8eebd1.zip
feat(index.ts): cache everything with polish
-rw-r--r--index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index 545f8e3..0b4b940 100644
--- a/index.ts
+++ b/index.ts
@@ -34,6 +34,7 @@ const handleRequest = async (originalRequest) => {
let response = await fetch(imageRequest, {
cf: {
polish: "lossy",
+ cacheEverything: true,
},
});