• Resolved mstep

    (@mstep)


    I cannot get debug mode to work (free version). I have unchecked disabling page caching for logged in users and admins etc. Cannot see anything at the bottom of the page source.

    Any help would be appreciated. Thanks.

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

    (@vmarko)

    Hello @mstep

    Thank you for reaching out.
    Can you please share the website URL?
    What may cause the HTML snippet to not appear is the HTML minify. You can try disabling HTML minify in Peroformance>Minify, save all settings and purge the cache, and then check the page source.
    Alternatively, you can try adding the word “Performance” in Performance>Minify>HTML&XML>Ignored comment stems: field, save all settings and purge the cache and hard reload your page.
    Thanks!

    Thread Starter mstep

    (@mstep)

    Thanks, but i followed your suggestion but it made no difference.

    But it is suddenly working now. It may have cause by using cloudflare through our host, which I turned on and off today. Does that seem reasonable?

    Anyway, here is the output I got and I have question. It says no-cache, and I need to understand if the page is cached or not. How do I do that?

    ===============================================

    Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/
    
    Object Caching 101/157 objects using memcached
    
    Object Cache debug info:
    Caching:            enabled
    Total calls:        157
    Cache hits:         101
    Total time:         0.0213
    Page Caching using disk: enhanced 
    
    Page cache debug info:
    Engine:             disk: enhanced
    Cache key:          staging4.test.site/_index_ssl.html
    Creation Time:      1621529183.000s
    Header info:
    Set-Cookie:         PHPSESSID=74623cbb875bbab673e94d9c6d2bbca5; path=/
    Expires:            Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control:      no-store, no-cache, must-revalidate
    Pragma:             no-cache
    Content-Type:       text/html; charset=UTF-8
    Link:               <https://staging4.test.site/wp-json/>; rel="https://api.w.org/"
    Link:               <https://staging4.test.site/wp-json/wp/v2/pages/570>; rel="alternate"; type="application/json"
    Link:               <https://staging4.test.site/>; rel=shortlink
    
    Lazy Loading

    Served from: staging4.test.site @ 2021-05-20 16:46:23 by W3 Total Cache

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @mstep

    Thank you for the info
    Cache-Control: no-cache. Forces caches to submit the request to the origin server for validation before releasing a cached copy.
    This is being handled by the Browser Cache settings in Performance>Browser Cache>HTML&XML where you can set the cache-control header.
    As you can see the page is cached staging4.test.site/_index_ssl.html
    Thanks!

    Thread Starter mstep

    (@mstep)

    Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Debug mode not working’ is closed to new replies.