-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
epickind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featurekind/featureA new featureA new featuretopic/gatewayTopic gatewayTopic gateway
Milestone
Description
This is a meta issue for HTTP cache improvements that we should prioritize in go-ipfs:
-
max-ageon/ipns/based on TTL – https://github.com/ipfs/go-ipfs/issues/1818 - dir-index-html on
/ipfs/should have some reasonablemax-age(it won't change within releases) - some HTTP header in
/ipns/responses which contains resolved IPNS (root CID) for faster cache invalidation of entire website when IPNS pointer changes- suggested in feat: Add X-IPFS-Root-CID header for faster cache invalidation #8617
- proposed
X-Ipfs-Rootsin feat: X-Ipfs-Roots for smarter HTTP caches #8720 a way to indicate all CIDs required for resolving path segments fromx-ipfs-path
- proposed
- suggested in feat: Add X-IPFS-Root-CID header for faster cache invalidation #8617
- ensure we default to https://web.dev/stale-while-revalidate/ everywhere we can
- this maximizes utility of HTTP gateway – cache-control is used not only by end user (browsers), but also HTTP caching solutions, CDNs. We should have defaults that leverage HTTP caching tools and conversions, assuming people will manually configure HTTP caching on their own using some sane values is not realistic.
cc @thattommyhall & @mathew-cf) if there are more asks/ideas here
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
epickind/enhancementA net-new feature or improvement to an existing featureA net-new feature or improvement to an existing featurekind/featureA new featureA new featuretopic/gatewayTopic gatewayTopic gateway