Cache Extend

From SEnginx
Jump to: navigation, search

Contents

Cache Extend

Synopsis

This module extends the caching function of the original nginx proxy-like module. It supports caching responses by content type. If no following directives are specified, the behavior will stay the same as original nginx.

Directives

proxy_cache_types

Syntax proxy_cache_types mime-types ...
Default text/html
Context Location

Specified types of responses will be cached.

Example:

proxy_cache_types text/css;

text/html is set by default.

fastcgi_cache_types

Syntax fastcgi_cache_types mime-types ...
Default text/html
Context Location

Specified types of responses will be cached.

Example:

fastcgi_cache_types text/css;

text/html is set by defautl.

Retrieved from "https://senginx.org/en/index.php?title=Cache_Extend&oldid=7953"
Personal tools
Namespaces

Variants
Actions
Navigation
In other languages
  • 中文
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version