nftstorage.link
nftstorage.link copied to clipboard
Gateway Worker warm cache API route
CF Worker Gateway needs to support a /cache/:cid
route that Gateway warm cache aws lambda function will use to ask the CF Worker to cache a response in the context of nftstorage/nftstorage.link#19
Flow
Receives a request to look for a CID and cache it
- Asks S3 Gateway for CID content
- Put response in CF cache
Notes
- Protected route with JWT! Only our internal services should be able to do this!
- We can use S3 exporter as a gateway in the race