Cache duration and response body size proposals

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

---

Next in thread (2 of 16): 🗣️ Arav K. (nothien (a) uber.space)

View entire thread.