Zaraz of my make my own requests

I have a single page app and I want to make some requests to my internal services when specific errors may occur.

My stack is all Cloudflare… Workers and Pages although the app is not launched yet.

I was curious if using Zaraz would have any benefit to use on the frontend to send these requests vs just making my own requests to my Worker?

I can’t think of any benefits. You’d just be triggering the requests using Zaraz via Javascript, which would send a request to Zaraz, which would then send a request to your worker. It seems more straightforward to just send the request directly to your worker. A potential downside could also be Zaraz being blocked by an ad blocker, preventing your requests from being sent at all. Hope that helps!

Mackenly Jones
Zaraz Certified Developer