This is a demo created that uses an older API created by me and with a webfront using Fastly Comnpute @ Edge.
For more details about other starter kits for Compute@Edge, see the Fastly developer hub
- Get products for start page
- Match request URL path and methods for routing
- Build synthetic responses at the edge
- Sort products
- Search products
- 100% of the requests are served from the edge
- Dynamic compression
- Using KV Store
- Using Fastly Cache
- Uses browser cookies to maintain cart state
- 10-minute session timeout
- Real-time price calculations including VAT (25%) and shipping ($10)
- Serves product images from KV Store
- Implements proper caching headers
- Supports multiple image formats
- Graceful error handling for missing products/images
- User-friendly error messages
- Proper HTTP status codes
To test the application locally:
- Start the development server: