• Resolved amirhmoradi

    (@amirhmoradi)


    Hi, thanks for the great plugin.
    Your base plugin headers are not being added to the test page for some reason: wp-cloudflare-page-cache/assets/testcache.html

    So I do not know if the plugin is working correctly or not.

    I saw in your code in lib/cache_controller.class.php line 78, that you have commented and disabled the function that adds these headers to requests. ( //add_filter( 'wp_headers', array($this, 'setup_response_headers_filter'), PHP_INT_MAX ); )

    Please advise

Viewing 1 replies (of 1 total)
  • Plugin Contributor iSaumya

    (@isaumya)

    Hi,
    That’s normal, as it’s a static .html file and not generated by WordPress or PHP whatever cache-control is set by the server for .html file type will be used.

    Instead of checking the test page, best to check the response header of your main site URL.

Viewing 1 replies (of 1 total)
  • The topic ‘Base headers not added to the test pageg’ is closed to new replies.