Cole
Cole
CDCloudflare Developers
Created by Cole on 10/28/2024 in #workers-help
Snippets help
Only concern at the moment is exception handling in snippets, what’s the best way? If any type of error occurs in the snippet how would I know and how should I handle it? In workers, I’d either catch exceptions and log/report or use tail and send to sentry for example. Can also see error analytics in workers/etc but not for snippets.
9 replies
CDCloudflare Developers
Created by Cole on 9/27/2024 in #workers-help
Caching across multiple parallel worker requests
What happens if you have multiple parallel worker requests from same colo that make use of the Cache API and there is a Cache Miss, the key/data stored in the Cache API is the same in all requests. - Do all the worker requests try to hit the origin at once or are things smart enough to so that only one worker request hits the origin and the rest will pull from the Cache?
2 replies