-
Notifications
You must be signed in to change notification settings - Fork 153
Gateway: Cache-Control, max-age=ttl, ETag for /ipns requests #329
Copy link
Copy link
Open
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps uphelp wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)topic/gatewayIssues related to HTTP GatewayIssues related to HTTP Gateway
Description
The gateway does not seem to provide a Cache-Control/max-age header or an ETag for /ipns URLs.
It might be useful to assume some reasonable non-zero max-age for content on IPNS. A minute? Fifteen seconds?
It would also be good to serve an ETag corresponding to whatever IPFS hash the IPNS path resolved to.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P2Medium: Good to have, but can wait until someone steps upMedium: Good to have, but can wait until someone steps uphelp wantedSeeking public contribution on this issueSeeking public contribution on this issuekind/bugA bug in existing code (including security flaws)A bug in existing code (including security flaws)topic/gatewayIssues related to HTTP GatewayIssues related to HTTP Gateway