• Resolved agrisv

    (@agrisv)


    Hi! In Basic Cache Mode. After around 2-5 min i can search cached response to domain https://elevate-conference.xyz
    But our domain are web.lv for example.
    Even one day INDEX page was cached with such response.
    Question: from where it come? Headers/source code? No such url in source files and plain db dump. So only left are headers.

    
    /var/www/web/wp-content/cache/page/7d8/6ea/7d86eaf6bfcf1cc8169b884742ceb849.php:1:h<]<?php exit; ?>a:4:{i:404;b:0;s:7:"headers";a:2:{s:11:"Status-Code";i:302;s:8:"Location";s:109:" https://elevate-conference.xyz/DjzNzz?q=%2Ftag%2Fvita-varpina%2F&se_referrer=https%3A%2F%2Fwww.google.com%2F";}s:4:"time";i:1561472600;s:7:"content";s:0:"";}
    

    cloudflare->server->nginx->php
    wp 5.2.x, php 7.3, all maintained plugins updated
    access log related url:

    
    GET /tag/vita-varpina/ HTTP/1.1" 302 12 "https://www.google.com/" "Mozilla/5.0 (Linux; Android 8.1.0; Redmi S2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 Mobile Safari/537.36
    

    have some recommendations for debugging?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    W3 Total Cache only caches what your business logic outputs.
    So, in this case, you should check there.

    Thread Starter agrisv

    (@agrisv)

    And how my logic are different from disk-enhanced vs disk-basic? with enhanced variant no problems..
    let say two modes take same generated response from wordpress and save in file, on mode in static html other mode in php file.

    How saved responses could be different?

    Can you tell the lines/file, where i can add code to simple logging all request and saved result at disk-basic cache.
    thanks.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello,

    The disk-enhanced caching method doesn’t cache redirect responses. It just technically cannot do it.
    Other cache engines however can and do.

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

The topic ‘basic cache different redirect url cached’ is closed to new replies.