Marius B.
Marius B.
CDCloudflare Developers
Created by zapalona_swieczka on 11/1/2024 in #workers-help
cache worker request not working?
Hi! Cache rules are not really reliable. Cloudflare decides based on the amount of reqests a route gets, if they cache it or not. Sometimes it takes a while. The CF cache isn't distributed across colocations. That means if your site gets a lot requests from a specifig region, CF first caches your site there. Using KV is a good choice. It is more controllable than cache rules.
6 replies
CDCloudflare Developers
Created by 🕊Freedom🕊 on 11/4/2024 in #workers-help
How to rate limit per hour?
Hello, you can use Web Application Firewall Rules for that. Go to your domain -> Security -> WAF -> Rate limiting rules.
2 replies
CDCloudflare Developers
Created by James on 7/18/2024 in #pages-help
Astro Cloudflare Pages SyntaxError: Unexpected token 'with'
@James are you using the experimental astro:env feature? And does your project work after deployment? In my case it throughs an error 500.
19 replies
CDCloudflare Developers
Created by Marius B. on 2/23/2024 in #pages-help
Build Stucks on "bun install v1.0.29"
Seems that this was a cloudflare issue. It works now. Haven't hanged anything in my project.
2 replies