• Resolved Anonymous User 14978628

    (@anonymized-14978628)


    Hi, I noticed in wp-config define(‘WP_CACHE’, false); after playing around with a few things. It’s normally set to true.

    But when i looked at my page source it still said they were cached by keycdn plugin.
    <!– Cache Enabler by KeyCDN @ 15.01.2019 09:45:03 (webp) –>

    Does define(‘WP_CACHE’, false); stop Cache Enabler from working? As even with that setting my pages still seem to get cached.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Cache Enabler will continue to cache and deliver copies of pages with define(‘WP_CACHE’, false); it just won’t bypass PHP. Here is a snippet from the KeyCDN knowledge base:

    Upon activation, Cache Enabler performs 2 things:

    1. Adds define(‘WP_CACHE’, true); // Added by Cache Enabler to your wp-config.php file
    2. Copies the advanced-cache.php file from the cache-enabler to the wp-content directory

    The X-Cache-Handler: wp header is shown if the advanced-cache.php file is used. Otherwise, if WP_CACHE is set to false (e.g. define(‘WP_CACHE’, false);) then Cache Enabler will not bypass PHP and you will see the following header X-Cache-Handler: php.

    Thread Starter Anonymous User 14978628

    (@anonymized-14978628)

    Thanks Cody, great info!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Please Explain This’ is closed to new replies.