broswen
CDCloudflare Developers
•Created by broswen on 9/26/2023 in #workers-help
building/bundling modules with node built-ins
I'm trying to use an npm module that relies on a node build-in (fs/promises) that is not available in the workers runtime. The actual library part of the module doesn't use that built-in, just the cli portion.
Is it possible through some webpack magic to build with that module but exclude the incompatible node built-ins?
1 replies
CDCloudflare Developers
•Created by broswen on 4/30/2023 in #workers-help
No cache api behind access?
It looks like cache api doesn't work if Cloudflare Access is running in front of a worker?
For Workers fronted by Cloudflare Access, the Cache API is not currently available.
What are the other options for using a cache if I need my worker to be protected via Access Service Tokens?
Is it recommended roll my own simple token auth system using KV?1 replies