How can I configure apigee to fail stale if the backend is unavialble?

Posted by Anurag Kapur on Stack Overflow See other posts from Stack Overflow or by Anurag Kapur
Published on 2014-05-27T15:21:50Z Indexed on 2014/05/27 15:24 UTC
Read the original article Hit count: 191

Filed under:
|

We have an API proxy configured with cache ttl of 2mins. Is it possible to configure apigee to serve stale cached content if the backend goes down so that our end users don't see errors?

We would rather have our end users get copies of stale cached content (even after the configured ttl of 2mins expires) instead of errors when the backend goes down.

Would appreciate if someone could point me to the relevant documentation if this is possible.

© Stack Overflow or respective owner

Related posts about caching

Related posts about apigee