GET https://api.nftstorage.link/perma-cache/:url #101
Labels
blocked
effort/quickwin
kind/enhancement
A net-new feature or improvement to an existing feature
P2
Medium: Good to have, but can wait until someone steps up
Currently the gateway is configured with the same R2 bucket that the perma cache API uses and has to know how to retrieve data from it when given a URL that was previously cached by perma cache. All this knowledge and configuration should live only in the perma-cache API and we should instead expose an API route allowing the gateway to retrieve data using just a URL.
i.e. currently:
change to:
New API route:
The text was updated successfully, but these errors were encountered: