Caching literally not working

I'm trying to create a file script which caches all files for 30 seconds. However, it never caches it, or at least it never gets it from the cache. Every time it's a cache miss. I've been trying to fix this for a while now and have gotten nowhere. Can someone have a look to see if the issue is obvious? https://sourceb.in/HZVNZhS2eo
4 Replies
kian
kian13mo ago
Is this running on a custom domain or workers.dev?
Silabear
SilabearOP13mo ago
on a custom domain but when I'm testing it, i'm using the workers.dev one
kian
kian13mo ago
workers.dev is expected not to work with the Cache API
Silabear
SilabearOP13mo ago
ah that's a bruh
Want results from more Discord servers?
Add your server