Thank you for your explanation
I have a question.
Are there any directives for preventing multiple upstream and serving new
content?
expect case:
1st request: get new content from origin and serve new content.
2nd request: serve new content.
3rd request: serve new content.
"proxy_cache_use stale updating" and "proxy_cache_background_update off"
case:
1st request: get new content from origin and serve new content.
2nd request: serve stale content.
finish 1st request's upstream.
3rd request: serve new content.
"proxy_cache_use stale updating" and "proxy_cache_background_update on"
case:
1st request: serve stale content and make subrequest for getting new
content.
2nd request: serve stale content.
finish 1st request's subrequest.
3rd request: serve new content.
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel