asish.comTechnical articles by Asish Punnose

What Cloudflare Workers makes easy for API teams

Choose a narrow edge task

A public documentation API can handle redirects, normalise paths and serve cacheable responses near readers. A Worker gives the team a place to perform that request handling before contacting the origin.

Count the origin calls

Draw the path for a cache miss. If a request needs authentication, metadata and content from one distant region, combine independent work where practical. Measure origin latency separately from handler execution time.

Ship with a fallback

Start with one public route. Preserve query parameters that affect the representation, define freshness explicitly and test origin failures. Compare cache hits, error rates and end-to-end latency before moving another route.

Back to homepage