nob
nob
CDCloudflare Developers
Created by nob on 2/8/2024 in #workers-help
Android Users Seeing "Nothing Here Yet" Page
Hi everyone, I'm encountering an issue with my Worker where Android users specifically in Italy are receiving a "There is nothing here yet" page, as if the worker is not active at the requested URL. This issue is not occurring for other devices - Macs (using Safari and Chrome), Windows PCs, or iOS devices. There are no errors reported in the Cloudflare dashboard for this worker. The worker script functions as expected for users on other devices. I did not set WAF or any other security as it is intended as a temporary app for few select users. It runs on the provided workers.dev subdomain. What steps should I take to troubleshoot?
1 replies
CDCloudflare Developers
Created by nob on 9/7/2023 in #workers-help
HTMLRewritter - Dealing with nested nodes
I'm having a hard time figuring out How to use HTMLRewritter. I have an XML-like structure, small snippets, like so:
<y>
<a>xxx</a>
<b>xxx</b>
<c>xxx</c>
</y>
<y>
<a>xxx</a>
<b>xxx</b>
<c>xxx</c>
</y>
I want to transform it like so:
<y>
<s>
<a>xxx</a>
<b>xxx</b>
</s>
<c>xxx</c>
</y>
<y>
<s>
<a>xxx</a>
<b>xxx</b>
</s>
<c>xxx</c>
</y>
Any ideas?
1 replies
CDCloudflare Developers
Created by nob on 9/5/2023 in #workers-help
Workers Sites vs Pages Functions guidance
Can someone from Cloudflare give some additional guidance regarding the choice? For instance, I would like to use hono and htmx for a SSR app, but I don't really want to use pages and functions. I need to host some static assets however there is a warning on the Workers Sites documentation pages to not use it for new projects and use Pages instead. Will "Worker Sites" be retired? What are the functional differences? (apart from file based routing in Pages). How should I host static assets for use in workers. Should I use Pages Functions in Advanced mode and have a _routes.json file? Thanks in advance for any help:)
7 replies