ipni / indexstar

:star:️ A load splitter for storetheindex :star:
Other
5 stars 0 forks source link

Add `Retry-After` and `Cache-Control` headers #91

Open masih opened 1 year ago

masih commented 1 year ago

In cases where 404s can potentially be satisfied in a later time, e.g. max internal timeout was hit, or 5 minutes caching of 404s, add extra headers to aid http clients make better decisions on retries.

See:

lidel commented 1 year ago

My suggestion would be to start small:

If feel if we have this, we don't need Retry-After.