Stale-while-revalidate / stale-if-error


Are there any plans to support the stale-while-revalidate and stale-if-error Cache-Control extensions?

It would really help to cache endpoints where content generation can take up a significant amount of time. With support for these extensions, content can get revalidated asynchronously from the CDN responding to the request.


Thanks for the feedback, will pass this along to the developers.


@cody Cool. Any feedback from the developers already if they will put in on a roadmap and plan to implement it?


Yes, they do plan to implement it. Although I don’t have an ETA for you just yet.


@cody I am really looking forward to this feature. Do you have any more information on when this could land? Is it some weeks or several months?


@benibu We are planning on introducing it within the next 2-4 weeks.


Status: The requested feature has been implemented.