diff --git a/wo/cli/templates/locations.mustache b/wo/cli/templates/locations.mustache index ec9ac0a..21e5642 100644 --- a/wo/cli/templates/locations.mustache +++ b/wo/cli/templates/locations.mustache @@ -24,7 +24,7 @@ location ~* \.(?:css(\.map)?|js(\.map)?)$ { more_set_headers "Cache-Control : public, no-transform"; access_log off; log_not_found off; - expires 30d; + expires 1y; } # Security settings for better privacy # Deny hidden files diff --git a/wo/cli/templates/wpcommon.mustache b/wo/cli/templates/wpcommon.mustache index 3bb6b3f..367426f 100644 --- a/wo/cli/templates/wpcommon.mustache +++ b/wo/cli/templates/wpcommon.mustache @@ -94,7 +94,7 @@ location /wp-content/cache { more_set_headers 'Access-Control-Allow-Origin : *'; access_log off; log_not_found off; - expires 30d; + expires 1y; } location ~ \.php$ { #Prevent Direct Access Of PHP Files From Web Browsers