cache_control


Description:


[ Version ( since = "0.3" ) ]
public HandlerCallback cache_control (CacheControlDirective directive, TimeSpan max_age = 0)

Produce a 'Cache-Control' response header.

Parameters:

directive

directive for the 'Cache-Control' header

max_age

argument for 'max-age' or 's-maxage' directives if specified in the type, otherwise it's used for 'max-age' if greater than zero


Namespace: Valum
Package: valum-0.3