RewardersAds

Cloudflare v2

Cache-first ad serving with D1-backed metadata.

Pages serves the frontend, cache carries normal ad delivery, redirect paths expose click events to Cloudflare Analytics, and scheduled syncs write aggregates to D1.

No per-view DB writes

Impressions are counted through Cloudflare Analytics and synchronized as aggregates.

Redirect-only clicks

Outbound clicks use a tiny redirect endpoint so Analytics can count traffic without storing raw user events.

R2 creatives

Generated creatives are stored in R2 and mirrored locally for deterministic staging tests.