canonical / canonicalwebteam.flask-base

3 stars 10 forks source link

Add stale-if-error header #41

Closed nottrobin closed 3 years ago

nottrobin commented 3 years ago

We sometimes get transitory issues with API backends being unavailable, e.g. here.

We should probably set a stale-if-error header by default that is some relatively short time, just to protect users from seeing short-lived issues.

I guess stale-if-error should always be longer than max-age. But how long? 5 minutes?

SirSamTumless commented 3 years ago

Could you please give this a priority and estimate it?

nottrobin commented 3 years ago

this is not done