iroh
iroh copied to clipboard
gateway(cache): improve cache control headers
Our header logic for cache control is very crude. Either we say to the browser to cache forever if it's a ipfs/CID or simply set the Last-Modified header to now().
We should explore cache logic around ipns/dns TTLs, content publishing timestamp for Last-Modified
This is a longer term thing and not part of the spec.