Transparent subrequest-based caching layout for arbitrary NGINX locations
20 — 所有核心与模块指令——语法、默认值、上下文与真实配置示例。
srcache_buffer
`srcache_buffer` 指令定义了在 NGINX 中用于缓存 subrequest 响应的缓冲区大小。
httpserverlocation
srcache_default_expire
为 srcache 模块中的缓存条目设置默认过期时间。
httpserverlocation
srcache_fetch
srcache_fetch 指令在 NGINX 中根据指定的 HTTP 方法和缓存键配置对 upstream 请求的缓存行为。
httpserverlocation
srcache_fetch_skip
指令 `srcache_fetch_skip` 指定在何种条件下绕过子请求缓存。
httpserverlocation
srcache_header_buffer_size
指令 `srcache_header_buffer_size` 指定用于在子请求中缓存 HTTP 头的缓冲区大小。
httpserverlocation
srcache_ignore_content_encoding
`srcache_ignore_content_encoding` 指令控制在获取缓存响应时 NGINX 是否应忽略 Content-Encoding 头。
httpserverlocation
srcache_max_expire
`srcache_max_expire` 指令设置在基于子请求的 NGINX 缓存系统中,缓存项可以保持有效的最长时间。
httpserverlocation
srcache_methods
`srcache_methods` 指令指定在 NGINX 的透明子请求缓存系统中哪些 HTTP 方法有资格被缓存。
httpserverlocation
srcache_request_cache_control
`srcache_request_cache_control` 指令通过特定的 HTTP 头控制客户端请求如何影响缓存行为,从而管理缓存。
httpserverlocation
srcache_response_cache_control
指令 `srcache_response_cache_control` 允许为子请求缓存中的响应设置 Cache-Control 头。
httpserverlocation
srcache_store
'srcache_store' 指令定义了在 NGINX 中对子请求进行缓存的缓存方法和响应状态。
httpserverlocation
srcache_store_hide_header
srcache_store_hide_header 指令指定在缓存响应时要省略的头部。
httpserverlocation
srcache_store_max_size
设置基于子请求的透明缓存布局中缓存的最大大小。
httpserverlocation
srcache_store_no_cache
`srcache_store_no_cache` 指令指示 NGINX 在请求包含指示不缓存要求的特定头时,阻止将响应存入缓存。
httpserverlocation
srcache_store_no_store
`srcache_store_no_store` 指令控制是否应根据 `Cache-Control` 头中的 'no-store'…
httpserverlocation
srcache_store_pass_header
`srcache_store_pass_header` 指令指定应从上游响应传递到已存储缓存条目且不作修改的 HTTP 头。
httpserverlocation
srcache_store_private
`srcache_store_private` 指令允许在 NGINX 中对来自子请求的私有响应数据进行缓存。
httpserverlocation
srcache_store_ranges
`srcache_store_ranges` 指令控制是否使用透明子请求缓存方法缓存范围请求。
httpserverlocation
srcache_store_skip
`srcache_store_skip` 指令指定在何种条件下 NGINX 应跳过将响应存储到子请求缓存机制中。
httpserverlocation
srcache_store_statuses
`srcache_store_statuses` 指令指定在基于子请求的透明缓存布局中应缓存哪些 HTTP 状态码。
httpserverlocation