Skip to content
Snippets Groups Projects
Commit dc185f1d authored by ale's avatar ale
Browse files

Reduce the cache-control time to 60s

The WP-Supercache Apache caching will anyway cover NGINX
requests for 300s.
parent b193fe17
No related branches found
No related tags found
No related merge requests found
Pipeline #54170 passed
......@@ -7,9 +7,9 @@ if [ ! -e "$cache_dir/.htaccess" ]; then
cat >"$cache_dir/.htaccess" <<EOF
Options -Indexes
Header set Vary "Accept-Encoding, Cookie"
Header set Cache-Control "max-age=300"
Header set Cache-Control "max-age=60"
ExpiresActive On
ExpiresByType text/html A300
ExpiresByType text/html A60
EOF
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment