1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
|
<% |
Optional[Array[String[1]]] $cache_ignore_headers = undef,
Optional[Integer] $cache_default_expire = undef,
Optional[Integer] $cache_max_expire = undef,
Optional[Apache::OnOff] $cache_ignore_no_lastmod = undef,
Optional[Apache::OnOff] $cache_header = undef,
Optional[Apache::OnOff] $cache_lock = undef,
Optional[Apache::OnOff] $cache_ignore_cache_control = undef,
| -%>
<%- if $cache_default_expire { -%>
CacheDefaultExpire <%= $cache_default_expire %>
<%- } -%>
<%- if $cache_max_expire { -%>
CacheMaxExpire <%= $cache_max_expire %>
<%- } -%>
<%- if $cache_ignore_no_lastmod { -%>
CacheIgnoreNoLastMod <%= $cache_ignore_no_lastmod %>
<%- } -%>
<%- if $cache_header { -%>
CacheHeader <%= $cache_header %>
<%- } -%>
<%- if $cache_lock { -%>
CacheLock <%= $cache_lock %>
<%- } -%>
<%- if $cache_ignore_cache_control { -%>
CacheIgnoreCacheControl <%= $cache_ignore_cache_control %>
<%- } -%>
<%- if ! empty($cache_ignore_headers) { -%>
CacheIgnoreHeaders <%= $cache_ignore_headers.sort.join(' ') %>
<%- } -%>
|