diff --git a/wo/cli/templates/locations.mustache b/wo/cli/templates/locations.mustache index b637cfc..1e96c4c 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 b69ac38..919fc4e 100644 --- a/wo/cli/templates/wpcommon.mustache +++ b/wo/cli/templates/wpcommon.mustache @@ -75,7 +75,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