Franz
Franz
DDeno
Created by Franz on 4/28/2025 in #help
Web Cache API not available in Deno Binaries?
It seems like the Web Cache API isn't available in deno binaries created through deno compile. Is there any config that I need to change to enable this, or is this Web API just not available in Deno binaries? I see that the Web Storage API isn't available in Deno binaries, but I was wondering if the Web Cache API not working in Deno binaries is also intended. The specific error I'm seeing when I use try to use the the Web Cache API (in this case, caches.open("foo")) is TypeError: CacheStorage is not available in this context. I would appreciate any workarounds/solutions here, I need to be running my application through a binary generated through deno compile.
4 replies