Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_proxy_module.xml @ 302:df728215db07
Documented "proxy_cache_lock", "proxy_cache_lock_timeout",
"fastcgi_cache_lock", and "fastcgi_cache_lock_timeout".
author | Ruslan Ermilov <ru@nginx.com> |
---|---|
date | Thu, 29 Dec 2011 15:36:38 +0000 |
parents | 94c8df379088 |
children | 86732337c730 |
comparison
equal
deleted
inserted
replaced
301:ced6daa61e83 | 302:df728215db07 |
---|---|
151 </example> | 151 </example> |
152 By default, the directive’s value is close to the string | 152 By default, the directive’s value is close to the string |
153 <example> | 153 <example> |
154 proxy_cache_key $scheme$proxy_host$uri$is_args$args; | 154 proxy_cache_key $scheme$proxy_host$uri$is_args$args; |
155 </example> | 155 </example> |
156 </para> | |
157 | |
158 </directive> | |
159 | |
160 | |
161 <directive name="proxy_cache_lock"> | |
162 <syntax><literal>on</literal> | <literal>off</literal></syntax> | |
163 <default>off</default> | |
164 <context>http</context> | |
165 <context>server</context> | |
166 <context>location</context> | |
167 | |
168 <para> | |
169 When enabled, only one request at a time will be allowed to populate | |
170 a new cache element identified according to the <link id="proxy_cache_key"/> | |
171 directive by passing a request to a proxied server. | |
172 Other requests of the same cache element will either wait | |
173 for a response to appear in the cache, or the cache lock for | |
174 this element to be released, up to the time set by the | |
175 <link id="proxy_cache_lock_timeout"/> directive. | |
176 </para> | |
177 | |
178 </directive> | |
179 | |
180 | |
181 <directive name="proxy_cache_lock_timeout"> | |
182 <syntax><value>time</value></syntax> | |
183 <default>5s</default> | |
184 <context>http</context> | |
185 <context>server</context> | |
186 <context>location</context> | |
187 | |
188 <para> | |
189 Sets a timeout for <link id="proxy_cache_lock"/>. | |
156 </para> | 190 </para> |
157 | 191 |
158 </directive> | 192 </directive> |
159 | 193 |
160 | 194 |