stale-if-error gives you the control over how a CDN should behave in case of errors.
stale-while-revalidate can improve the perceived performance of your website, if your website doesn't require absolute data freshness.
It would be nice to use these directives for improved CDN performance.
Summary
stale-if-error
gives you the control over how a CDN should behave in case of errors.stale-while-revalidate
can improve the perceived performance of your website, if your website doesn't require absolute data freshness.It would be nice to use these directives for improved CDN performance.