You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dropins/advanced-cache.php
+30-1Lines changed: 30 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -57,6 +57,7 @@ class wondercache {
57
57
public$cancel = false; // Change this to cancel the output buffer. Use wondercache_cancel();
58
58
59
59
public$noskip_cookies = array( 'wordpress_test_cookie' ); // Names of cookies - if they exist and the cache would normally be bypassed, don't bypass it
60
+
public$cacheable_origin_hostnames = array(); // A whitelist of HTTP origin `<host>:<port>` (or just `<host>`) names that are allowed as cache variations.
60
61
61
62
public$query = '';
62
63
public$genlock = false;
@@ -70,6 +71,23 @@ function __construct( $settings ) {
0 commit comments