Skip to main content

Faster Loading for Plan Information

📝 Problem Statement

The Plan Retrieve endpoint is currently not cached and can take up to 500ms to process, which introduces delays in the UI execution.


👤 User Story

As a business owner,
I want the Plan Retrieve endpoint to respond quickly,
So that the UI loads and executes without noticeable delays.


✅ Definition of Done (DoD)

  • Offload cacheable endpoints to Cloudflare for ultra-fast response times.

  • Store and update JSON in real-time using R2 Object Storage.

  • Serve responses with fast edge performance via Workers.

  • Enable real-time cache invalidation with Cache-Control, ETag, and versioning strategies.

  • Ensure fallback to origin works seamlessly via Worker logic.

  • Achieve sub-50ms response times with Cloudflare global edge + object prefetching.

Status: Available

Log in to comment and vote

No comments yet

Be the first to share your thoughts.