Mercurial > hg > nginx-tests
diff proxy_cache_use_stale.t @ 1210:3ca5b0081bc6
Tests: proxy_cache_use_stale.t adjusted.
Extended stale-while-revalidate in a cached response to ensure
it's not yet ceased when revalidating in the background.
author | Sergey Kandaurov <pluknet@nginx.com> |
---|---|
date | Wed, 23 Aug 2017 13:48:32 +0300 |
parents | 0352ed25af20 |
children | a3d23d16712d |
line wrap: on
line diff
--- a/proxy_cache_use_stale.t +++ b/proxy_cache_use_stale.t @@ -150,7 +150,7 @@ get('/tt.html', 'max-age=1, stale-if-err get('/t3.html', 'max-age=1, stale-while-revalidate=2'); get('/t4.html', 'max-age=1, stale-while-revalidate=2'); get('/t5.html', 'max-age=1, stale-while-revalidate=2'); -get('/t6.html', 'max-age=1, stale-while-revalidate=2'); +get('/t6.html', 'max-age=1, stale-while-revalidate=4'); get('/t7.html', 'max-age=1, stale-while-revalidate=10'); http_get('/ssi.html'); get('/updating/t.html', 'max-age=1');