Configure > Expires Directives
This document describes the configuration directives of the expires handler.
"expires"
- Description:
-
An optional directive for setting the
Cache-Control: max-age=header.- if the argument is
OFFthe feature is not used - if the value is
NUMBER UNITthen the header is set - the units recognized are:
second,minute,hour,day,month,year - the units can also be in plural forms
Example. SetCache-Control: max-age=86400expires: 1 day - if the argument is
- Level:
- global, host, path, extension