broswen
broswen
CDCloudflare Developers
Created by Cooleg on 4/29/2023 in #workers-help
Cache seems to not be storing anything
Yea that makes me think it's not actually caching.
36 replies
CDCloudflare Developers
Created by Cooleg on 4/29/2023 in #workers-help
Cache seems to not be storing anything
I'm not sure otherwise
36 replies
CDCloudflare Developers
Created by Cooleg on 4/29/2023 in #workers-help
Cache seems to not be storing anything
You can try creating a different req to use as the cache key without the API key/user-agent headers. It might be those.
36 replies
CDCloudflare Developers
Created by Cooleg on 4/29/2023 in #workers-help
Cache seems to not be storing anything
Is the req something you create or the raw request from the worker invocation? I believe there are certain headers that prevent caching from happening.
36 replies
CDCloudflare Developers
Created by Cooleg on 4/29/2023 in #workers-help
Cache seems to not be storing anything
From those docs it seems that only workers deployed to custom domains have access to functional cache operations.
36 replies
CDCloudflare Developers
Created by Cooleg on 4/29/2023 in #workers-help
Cache seems to not be storing anything
How are you triggering your worker? The docs here https://developers.cloudflare.com/workers/runtime-apis/cache say that For Workers fronted by Cloudflare Access Cache API is not currently available. Only Workers deployed to custom domains have access to functional cache operations.
36 replies