aleksandr
CDCloudflare Developers
•Created by aleksandr on 11/20/2024 in #pages-help
Removed an HTML page but it's still showing up on my website
Oh, I see. Thanks for clearing that up! Not sure if there are any plans to implement this, but I think it would be helpful to be able to purge that cache too.
7 replies
CDCloudflare Developers
•Created by aleksandr on 11/20/2024 in #pages-help
Removed an HTML page but it's still showing up on my website
Interestingly, the page is not up on the deploy preview. It's only up on my live published site. So this URL 404s: https://f8a15d9c.aleksandrhovhannisyan-com.pages.dev/blog/javascript-game-loop/
Headers for the problematic page:
7 replies
CDCloudflare Developers
•Created by aleksandr on 9/7/2024 in #pages-help
Documentation on using wrangler.toml to configure a Pages project (not workers/functions)
FWIW, the link at the top of that screenshot doesn't help as that article doesn't list the available commands. There appears to be no way to change the build output directory or root directory.
https://developers.cloudflare.com/pages/functions/wrangler-configuration/
2 replies
CDCloudflare Developers
•Created by aleksandr on 9/1/2024 in #workers-help
Are Page Functions bundled differently than regular Workers?
Hmm, strange! Well it's good to know they (should) behave the same. I'll have to try again and see if I can figure out why the deploy throws those errors when deploying it as a Page Function instead of an ordinary worker. The package (
prismjs
) is installed in the root of my repo and imported correctly in the module that my Page Function imports.5 replies
CDCloudflare Developers
•Created by aleksandr on 9/1/2024 in #workers-help
Are Page Functions bundled differently than regular Workers?
5 replies
CDCloudflare Developers
•Created by aleksandr on 9/1/2024 in #workers-help
Are Page Functions bundled differently than regular Workers?
One interesting thing I found is that if I go to my Worker in my dashboard and click the
Edit code
link, I'm able to see the final bundled JavaScript and it looks like it's just bundling all those external modules, which explains why it doesn't run into any problems. So now I'm curious what Page Functions do differently.5 replies
CDCloudflare Developers
•Created by aleksandr on 8/31/2024 in #workers-help
Unable to test Cloudflare Page Function: [wrangler:err] Error: No response!
Okay, that resolved my issue (I'm running into other unrelated errors now, but this has unblocked me). Thanks so much!
9 replies
CDCloudflare Developers
•Created by aleksandr on 8/31/2024 in #workers-help
Unable to test Cloudflare Page Function: [wrangler:err] Error: No response!
Ah, thanks James! Let me give that a shot.
9 replies
CDCloudflare Developers
•Created by aleksandr on 8/31/2024 in #workers-help
Unable to test Cloudflare Page Function: [wrangler:err] Error: No response!
I also get this warning in my server console when following the quickstart example
9 replies
CDCloudflare Developers
•Created by aleksandr on 8/31/2024 in #workers-help
Unable to test Cloudflare Page Function: [wrangler:err] Error: No response!
9 replies