Faster Loading for E-Commerce Product List

🚨 Problem Statement

The E-Commerce List Products endpoint is not cached and can take hundreds of milliseconds to process, especially with large lists.
This adds latency to the UI, slowing down page loads and customer interactions.


👤 User Story

As a customer,
I want product lists to load instantly,
So that I can explore products quickly without waiting for slow page loads.


✅ Definition of Done (DoD)

Offload the E-Commerce List Products endpoint from Laravel to Cloudflare, ensuring speed, scalability, and reliability:

  • Ultra-fast responses (<50ms) served from Cloudflare Workers.

  • Smart caching & real-time updates with R2 Object Storage for product list JSON.

  • Cache invalidation via Cache-Control, ETag, cf-cache-status, and versioning strategies.

  • Worker fallback logic to fetch from origin (Laravel) if cache misses or invalid states occur.

  • Edge distribution across Cloudflare’s global network to deliver consistently fast performance worldwide.

  • Resilience: if Cloudflare cache/storage is stale or unavailable, user still gets fresh data via origin.

Please authenticate to join the conversation.

Upvoters
Status

Available

Board
💡

Pelcro Product

ETA
Oct 30, 2025
Date

5 months ago

Author

Rana Haleem

Subscribe to post

Get notified by email when there are changes.