Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache struct {
Config
Store CacheStore
// contains filtered or unexported fields
}
Cache stuff
func (Cache) CaddyModule ¶
func (Cache) CaddyModule() caddy.ModuleInfo
CaddyModule returns the Caddy module information.
func (*Cache) UnmarshalCaddyfile ¶
UnmarshalCaddyfile sets up the handler from Caddyfile tokens. Syntax:
cache {
expire 120 # Cache expiration in seconds
method post # Don't typically cache POST
bypass wp-admin wp-login.php system # WordPress and ExpressionEngine
# cookie exp_sessionid # ExpressionEngine
cookie wordpress_logged_in_.* # WordPress
}
This may change.
Click to show internal directories.
Click to hide internal directories.