-
Notifications
You must be signed in to change notification settings - Fork 927
Open
Description
Summary
Proposing a new template: Edge Content Intelligence Worker - a cache-first edge service that replaces client-side enrichment for ads, analytics, and personalization.
What This Template Demonstrates
This template showcases several Cloudflare-native patterns:
| Pattern | Implementation |
|---|---|
| KV-native caching | Content profiles cached in Cloudflare KV for global, low-latency retrieval |
| Pre-warm + invalidate flows | Cache on content publish, invalidate on update |
| Multiple downstream consumers | Single analysis serves ads (GAM/OpenRTB), analytics (GA4), and internal services |
| First-party execution | Runs on your domain, no client-side JS dependency |
| Cacheable, deterministic outputs | Same URL always produces same profile |
Architecture
Request
|
Cloudflare Worker
|
Content Analysis (cached)
|
+-------------+---------------+---------------+
| Ad Server | Analytics | Internal ML |
| (GAM/PBS) | (GA/BI) | / Personal. |
+-------------+---------------+---------------+
One analysis → Many consumers
Why This Fits the Templates Collection
- Real workload - Solves actual production problem (client-side JS sprawl)
-
- Cloudflare-native - Uses KV, Workers, edge execution model
-
- Privacy-first - No cookies, no PII, first-party only
-
- Multi-binding example - KV + Secrets + fetch
Links
- Source: https://github.com/mixpeek/connectors/tree/main/cloudflare-workers
-
- Documentation: https://mixpeek.com/connectors/cloudflare-workers
Positioning
"Replacing client-side enrichment with a cache-first edge service"
This is not positioned as:
- An SDK or product integration
-
- Adtech targeting
-
-
- User-level tracking
It's positioned as:
- User-level tracking
-
- Shared infrastructure pattern
-
- Edge-native architecture example
-
-
- Cache-first design reference
-
Next Steps
Happy to:
- Adapt the template to match your
package.jsonrequirements -
- Add Playwright E2E tests
-
- Trim to minimum example if preferred
Let me know if this would be a good fit!
- Trim to minimum example if preferred
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels