bnjmnrsh-projs / signal-v-noise

Code kata using the NYT API.
https://bnjmnrsh-projs.github.io/signal-v-noise/
1 stars 0 forks source link

signal-v-noise

Code kata using the NYT API.

Live: https://bnjmnrsh-projs.github.io/signal-v-noise/

Techniques & APIs used in this project:

Vanilla JS

Cloudflare

The project heavily uses Cloudflare Workers as a caching and request orchestration layer between the client and backend APIs by safelisting, retrying, caching, collating responses and handling errors.

The NYT APIs are quite restrictive, so the next steps are to aggressively fine-tune the caching strategy and use Cloudflare's cron features to pre-fetch and cache responses to limit requests to the NYT origin servers.

Tooling: