ncano
CDCloudflare Developers
•Created by Cole on 10/28/2024 in #workers-help
Snippets help
managed transforms run before Snippets: https://developers.cloudflare.com/ruleset-engine/reference/phases-list/
9 replies
CDCloudflare Developers
•Created by Cole on 10/28/2024 in #workers-help
Snippets help
cf-cache-status is coming from Cache (Pingora), so if your snippet doesn't go to origin this header won't be present
9 replies
CDCloudflare Developers
•Created by simesy on 10/21/2024 in #general-help
Could not resolve host after setting up Cloud Connector
@simesy, yup: for now Cloud Connector (like all the other Cloudflare Rules products) explicitly requires an orange-clouded DNS record to route traffic.
3 replies
CDCloudflare Developers
•Created by Torque on 10/4/2024 in #workers-discussions
does snippets support kv? If not is
you can access Workers KV from Snippets over HTTP (i.e. https://developers.cloudflare.com/kv/api/), but as @Walshy | Out of office said no support for bindings
2 replies
CDCloudflare Developers
•Created by Lind on 9/24/2024 in #pages-discussions
I have question regarding Cloudflare
520 is not related to Snippets subrequests; if you hit that, you would get a warning in the preview and 1202 error in production: https://developers.cloudflare.com/rules/snippets/errors/#error-1202-snippets-exceeded-subrequests-limit
3 replies
CDCloudflare Developers
•Created by Lind on 9/8/2024 in #pages-discussions
Can I access KV from snippets ?
this will have impact on latency, however it shouldn't be too drastic
24 replies
CDCloudflare Developers
•Created by Lind on 9/8/2024 in #pages-discussions
Can I access KV from snippets ?
in a nutshell, rest API incurs the same costs as using a binding in a worker
24 replies
CDCloudflare Developers
•Created by Lind on 9/8/2024 in #pages-discussions
Can I access KV from snippets ?
24 replies
CDCloudflare Developers
•Created by Lind on 9/8/2024 in #pages-discussions
Can I access KV from snippets ?
you can call KV API https://developers.cloudflare.com/kv/api/ from your snippet, given that you authenticate and provide a token that is associated with Cloudflare user that has access to KV
24 replies
CDCloudflare Developers
•Created by Lind on 9/8/2024 in #pages-discussions
Can I access KV from snippets ?
no bindings though
24 replies
CDCloudflare Developers
•Created by Lind on 9/8/2024 in #pages-discussions
Can I access KV from snippets ?
you can access KV via HTTP endpoints from Snippets
24 replies