Short version: this means that page caching rules by default will not cache HTTPS pages. This way (http: // example. Com / page1) will be cached, but (https://example.com/page2) will not.
By creating this true , you can force the cache to automatically create a specific version of the SSL page cache.
By default, the parameter is set to false :
'pgcache.cache.ssl' => array( 'type' => 'boolean', 'default' => false
If set to true, then:
if ( $config->get_boolean( 'pgcache.cache.ssl' ) ) { $rules .= " RewriteCond %{HTTPS} =on\n"; $rules .= " RewriteRule .* - [E=W3TC_SSL:_ssl]\n"; $rules .= " RewriteCond %{SERVER_PORT} =443\n"; $rules .= " RewriteRule .* - [E=W3TC_SSL:_ssl]\n"; $env_W3TC_SSL = '%{ENV:W3TC_SSL}'; }
source share