Re: Stale While Revalidate Expires

2017-06-21 Thread Rafael Cirolini
unin Enviado: quarta-feira, 7 de junho de 2017 11:26:45 Para: nginx@nginx.org Assunto: Re: Stale While Revalidate Expires Hello! On Tue, Jun 06, 2017 at 07:33:24PM +, Rafael Cirolini wrote: > We've just updated to 1.12 to use the stale-while-revalidate option. > > The applic

Re: Stale While Revalidate Expires

2017-06-07 Thread Maxim Dounin
Hello! On Tue, Jun 06, 2017 at 07:33:24PM +, Rafael Cirolini wrote: > We've just updated to 1.12 to use the stale-while-revalidate option. > > The application is who sends the cache-control header, like this: > cache-control:max-age=180, stale-while-revalidate=60, stale-if-error=864000 > >

Stale While Revalidate Expires

2017-06-06 Thread Rafael Cirolini
We've just updated to 1.12 to use the stale-while-revalidate option. The application is who sends the cache-control header, like this: cache-control:max-age=180, stale-while-revalidate=60, stale-if-error=864000 If I understood how SWR works, the user shouldn't receive stale content after 180+60