Plugin Support
qtwrk
(@qtwrk)
I am seeing cache header there , you still seeing the error ?
Yes, I can still see ‘Page caching is not detected but the server response time is OK’ message
Median server response time was 5 milliseconds. This is less than the 600 millisecond threshold.
No client caching response headers were detected.
A page caching plugin was not detected.
same here Unable to detect the presence of page cache
Plugin Support
qtwrk
(@qtwrk)
please provide the report number , you can get it in toolbox -> report-> click “send to LiteSpeed”
Plugin Support
qtwrk
(@qtwrk)
please create a file , let’s say test.php , with code below
<?php
require( './wp-load.php' );
$http_response = wp_remote_get( home_url( '/' ), compact( 'sslverify', 'headers' ) );
$response_headers = wp_remote_retrieve_headers($http_response);
echo '<pre>';
var_dump($response_headers);
echo '</pre>';
then access it as https://yourdomain.com/test.php
then post the result.
Warning: compact(): Undefined variable $sslverify in /home/glamsham/public_html/test.php on line 4 Warning: compact(): Undefined variable $headers in /home/glamsham/public_html/test.php on line 4array(0) { }
Plugin Support
qtwrk
(@qtwrk)
the warning should be ignorable , did it output anything else ?
you can also change that line to $http_response = wp_remote_get( home_url( '/' ) );