Mercurial > hg > nginx-tests
changeset 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 | 0d9df274e3a3 |
children | 0c15ba7d19b3 |
files | proxy_cache_use_stale.t |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/proxy_cache_use_stale.t Tue Aug 22 17:14:43 2017 +0300 +++ b/proxy_cache_use_stale.t Wed Aug 23 13:48:32 2017 +0300 @@ -150,7 +150,7 @@ 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');