storacha / w3link

🪐 The IPFS gateway for web3.storage is not "another gateway", but a caching layer that sits on top of existing IPFS public gateways.
Other
24 stars 9 forks source link

fix: ipfs path resolution with 301 status #19

Closed vasco-santos closed 2 years ago

vasco-santos commented 2 years ago

This PR moves status code of path resolution redirect from 302 to 301. This aligns with other gateways do like dweb.link and flags to clients a permanent redirection.

This should help with browser local caching related to https://github.com/web3-storage/reads/issues/81