-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enable proxy.config.http.negative_revalidating_enabled by default #1626
Comments
The documentation is not completely clear. If this is enabled, then on subsequent requests to the failed object, ATS will revalidate the negatively cached item against the origin? And in that case, if the revalidation fails, it will serve stale content? Although that seems wrong because the cached object would be the negative reply. |
How about if I add: |
What about this - .. ts:cv:: CONFIG proxy.config.http.negative_revalidating_enabled INT 0 Negative revalidating allows |TS| to return stale content if revalidation to the origin fails due A value of .. ts:cv:: CONFIG proxy.config.http.negative_revalidating_lifetime INT 1800 How long, in seconds, to consider a stale cached document valid if If |
Don't get this sentence:
I think this should only be in play for stale content -- wouldn't be revalidating fresh content, right? Perhaps
Perhaps missing a comma after response? proxy.config.http.negative_revalidating_lifetime |
|
Docs updated, ship this in ATS 8. |
Still think proxy.config.http.negative_revalidating_enabled needs to be enabled by default in 8. |
This addresses issue apache#1626
Looks like this is done. |
I think we should enable proxy.config.http.negative_revalidating_enabled by default in ATS 8. This config allows ATS to serve stale when it cannot reach the origin. With the current settings the client receives 502s. The config is overridable.
The text was updated successfully, but these errors were encountered: