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

Set custom Cache-Control header for wp-supercache

Drops the 'must-revalidate' bit, which prevents serving stale pages,
and sets a longer max-age to match the edge NGINX caching ttl.
parent 7b1a89af
No related branches found
No related tags found
No related merge requests found
Pipeline #54148 canceled
...@@ -115,6 +115,10 @@ define('SMTP_DEBUG', 0); ...@@ -115,6 +115,10 @@ define('SMTP_DEBUG', 0);
*/ */
define('COOKIEHASH', '7d12c307721c1cbe9412c639209d72aa'); define('COOKIEHASH', '7d12c307721c1cbe9412c639209d72aa');
/* Custom Cache-Control headers for WP-SuperCache.
* These are set to match our edge nginx caches.
define('WPSC_CACHE_CONTROL_HEADER', 'max-age=600');
/**#@+ /**#@+
* Authentication Unique Keys and Salts. * Authentication Unique Keys and Salts.
* *
......
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