Cache duration and response body size proposals
trevor at rocketnine.space
trevor at rocketnine.space
Tue Nov 10 04:30:51 GMT 2020
Proposal: Cache duration
Gemini servers MAY include a duration (in seconds) which a client SHOULD cache
a resource when the request is successful. When a cache duration of 0 or
less is provided, clients SHOULD NOT cache the resource.
Cache for one week:
20 text/gemini; charset=utf-8; cache=604800
Do not cache:
20 text/gemini; charset=utf-8; cache=0
Proposal: Response body size
Gemini servers SHOULD include the size (in bytes) of the response body when the
request is successful. Clients SHOULD utilize this information when downloading
files to indicate progress.
20 text/gemini; charset=utf-8; size=1108
These proposals are available at gemini://twins.rocketnine.space/proposals.gmi
More information about the Gemini
mailing list