sh33p
CDCloudflare Developers
•Created by sh33p on 4/16/2025 in #workers-help
Version metadata lacks timestamp field
I'm trying to get the deployment date of my worker from inside the worker so it can handle the
if-modified-since
header appropriately. But the binding gives me an object which lacks the timestamp field described in the documentation at:
https://developers.cloudflare.com/workers/runtime-apis/bindings/version-metadata/30 replies
CDCloudflare Developers
•Created by sh33p on 4/4/2025 in #workers-help
Seeing data loss when serving ReadableStream from worker
I have a generator which returns fixed-size chunks (tested, eg., 16kB and 32kB chunks), and I take those chunks and pass them out via controller.enqueue() calls. Some of those chunks then vanish before reaching the other end of the connection.
No errors in the connection itself. It looks like the controller object just misplaces them.
Am I doing this right?
3 replies
CDCloudflare Developers
•Created by sh33p on 3/31/2025 in #workers-help
My worker serves sitemap.xml but Google can't read it
I don't have a static site on the domain so if cloudflare chooses to not proxy and run the worker then it will fail, but is there a policy about when cloudflare will step back and try to make the client use the static site?
I can't be sure that's the problem, so maybe it's something else. Is there a way to see what Google sees?
2 replies