• Resolved Paul

    (@paulka)


    This appears to be stopping cloudflare from caching, although hyper cache /cache/ folder does have content. ( I got around it by forcing a cache-everything page rule in cloudflare)

    When I load my pages from chrome incognito this header is added.

    x-hyper-cache: stop - no cache header

    The code seems to indicate if I’m a bot then show me no cache but I can’t figure out why.

    hyper-cache/advanced-cache.php line 48

    if (!$hyper_cache_is_bot || $hyper_cache_is_bot && !HC_BOTS_IGNORE_NOCACHE) {
        if (isset($_SERVER['HTTP_CACHE_CONTROL']) && $_SERVER['HTTP_CACHE_CONTROL'] == 'no-cache') {
            hyper_cache_header('stop - no cache header');
            $cache_stop = true;
            return false;
        }
Viewing 1 replies (of 1 total)
  • Plugin Author Stefano Lissa

    (@satollo)

    It means your browser is sending the “no cache” header when you use the incognito mode. That header is respected (or it should) even by cloudflare.

Viewing 1 replies (of 1 total)
  • The topic ‘x-hyper-cache: stop – no cache header’ is closed to new replies.