Set up a cache-components-cache R2-bucket.
Then run the following commands:
pnpm install
pnpm deploy
This repository will deploy to a CF worker named cache-components.
- Visit the deployed worker's URL
- Open browser dev console to inspect network requests
- Filter for requests containing
static?_rsc - Refresh a few times
After refreshing a few times, there will be a prefetch with only a 1-byte response.