• Resolved Boris

    (@ispacecrusader)


    Hi,
    I’m seeing this message: “Page uncached by LiteSpeed Cache” in DevTools at the bottom of the Inspector. I believe I have everything set up correctly in the LS plugin, and have caching enabled for both guests and logged in visitors, so I see the same as anonymous visitors.
    What could be the problem?
    I’ve logged a reload of the page, I will paste the log below here:

    02/19/25 12:48:11.306 [185.229.55.163:41164 1 FEk] 💓 ------GET HTTP/1.0 (HTTPS) /wp-admin/admin-ajax.php
    02/19/25 12:48:11.306 [185.229.55.163:41164 1 FEk] Query String: action=ame_dyn_style-ame-custom-dashboard-styles&ver=6.7.2
    02/19/25 12:48:11.306 [185.229.55.163:41164 1 FEk] HTTP_REFERER: https://stemerdinkenverhoek.nl/wp-admin/admin.php?pag...
    02/19/25 12:48:11.306 [185.229.55.163:41164 1 FEk] Cookie _lscache_vary: 0217511b69dbf3d0eb0f23c749b25c69
    02/19/25 11:48:11 - OC - Init Redis connection
    02/19/25 11:48:11 - OC - connecting to localhost:6379
    02/19/25 11:48:11 - OC - Connected
    02/19/25 12:48:11.325 [185.229.55.163:41174 1 l6B] 💓 ------GET HTTP/1.0 (HTTPS) /wp-content/themes/starchild/css/styles.css
    02/19/25 12:48:11.325 [185.229.55.163:41174 1 l6B] Query String: ver=6.7.2
    02/19/25 12:48:11.325 [185.229.55.163:41174 1 l6B] HTTP_REFERER: https://stemerdinkenverhoek.nl/wp-admin/admin.php?pag...
    02/19/25 12:48:11.325 [185.229.55.163:41174 1 l6B] Cookie _lscache_vary: 0217511b69dbf3d0eb0f23c749b25c69
    02/19/25 12:48:11.383 [185.229.55.163:41186 1 gn7] 💓 ------GET HTTP/1.0 (HTTPS) /wp-content/themes/starchild/js/scripts.js
    02/19/25 12:48:11.383 [185.229.55.163:41186 1 gn7] Query String: ver=6.7.2
    02/19/25 12:48:11.383 [185.229.55.163:41186 1 gn7] HTTP_REFERER: https://stemerdinkenverhoek.nl/wp-admin/admin.php?pag...
    02/19/25 12:48:11.383 [185.229.55.163:41186 1 gn7] Cookie _lscache_vary: 0217511b69dbf3d0eb0f23c749b25c69
    02/19/25 12:48:11.498 [185.229.55.163:41164 1 FEk] [Ctrl] X Cache_control -> private ( logged in user )
    02/19/25 12:48:11.521 [185.229.55.163:41174 1 l6B] [Ctrl] X Cache_control -> private ( logged in user )
    02/19/25 12:48:11.521 [185.229.55.163:41174 1 l6B] [Router] get_role: administrator
    02/19/25 12:48:11.588 [185.229.55.163:41186 1 gn7] [Ctrl] X Cache_control -> private ( logged in user )
    02/19/25 12:48:11.589 [185.229.55.163:41186 1 gn7] [Router] get_role: administrator
    02/19/25 12:48:11.596 [185.229.55.163:41174 1 l6B] [Ctrl] X Cache_control TTL -> 3600
    02/19/25 12:48:11.596 [185.229.55.163:41174 1 l6B] 💰 [Tag] Add --- HTTP.404
    02/19/25 12:48:11.597 [185.229.55.163:41174 1 l6B] [Ctrl] X Cache_control init on
    02/19/25 12:48:11.620 [185.229.55.163:41164 1 FEk] [Ctrl] not cacheable before ctrl finalize
    02/19/25 12:48:11.621 [185.229.55.163:41164 1 FEk] [Router] get_role: administrator
    02/19/25 12:48:11.621 [185.229.55.163:41164 1 FEk] [Vary] can_change_vary bypassed due to ajax call
    02/19/25 12:48:11.621 [185.229.55.163:41164 1 FEk] 💰 X-LiteSpeed-Cache-Control: no-cache
    02/19/25 12:48:11.621 [185.229.55.163:41164 1 FEk] 💰 Cache-Control: no-cache, no-store, must-revalidate, max-age=0
    02/19/25 12:48:11.622 [185.229.55.163:41164 1 FEk] [Vary] uid: 3
    02/19/25 12:48:11.622 [185.229.55.163:41164 1 FEk] [Core] run hook litespeed_buffer_finalize
    02/19/25 12:48:11.622 [185.229.55.163:41164 1 FEk] [Core] Silence Comment due to REST/AJAX
    02/19/25 12:48:11.622 [185.229.55.163:41164 1 FEk] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.3.17',
    1 => 'X-Robots-Tag: noindex',
    2 => 'Referrer-Policy: strict-origin-when-cross-origin',
    3 => 'X-Frame-Options: SAMEORIGIN',
    4 => 'Expires: Fri, 21 Mar 2025 11:48:11 GMT',
    5 => 'Content-type: text/css;charset=UTF-8',
    6 => 'X-Content-Type-Options: nosniff',
    7 => 'X-LiteSpeed-Cache-Control: no-cache',
    8 => 'Cache-Control: no-cache, no-store, must-revalidate, max-age=0',
    )
    02/19/25 12:48:11.623 [185.229.55.163:41164 1 FEk] End response
    --------------------------------------------------Duration: 317.52 ms------------------------------

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support qtwrk

    (@qtwrk)

    the log you provided is incorrect

    please add test to debug include URI, then open your page as https://domain.com/?test , then share the log

    Thread Starter Boris

    (@ispacecrusader)

    Hi @qtwrk – okay, didn’t realize. Here is the adjusted log:

    02/19/25 12:53:53 - OC - Init Redis connection
    02/19/25 12:53:53 - OC - connecting to localhost:6379
    02/19/25 12:53:53 - OC - Connected
    02/19/25 12:53:54 - OC - Init Redis connection
    02/19/25 12:53:54 - OC - connecting to localhost:6379
    02/19/25 12:53:54 - OC - Connected
    02/19/25 12:53:54 - OC - Init Redis connection
    02/19/25 12:53:54 - OC - connecting to localhost:6379
    02/19/25 12:53:54 - OC - Connected
    02/19/25 12:53:54 - OC - Init Redis connection
    02/19/25 12:53:54 - OC - connecting to localhost:6379
    02/19/25 12:53:54 - OC - Connected
    02/19/25 12:53:54 - OC - Init Redis connection
    02/19/25 12:53:54 - OC - connecting to localhost:6379
    02/19/25 12:53:54 - OC - Connected
    02/19/25 12:53:56 - OC - Init Redis connection
    02/19/25 12:53:56 - OC - connecting to localhost:6379
    02/19/25 12:53:56 - OC - Connected
    02/19/25 12:53:56 - OC - Init Redis connection
    02/19/25 12:53:56 - OC - connecting to localhost:6379
    02/19/25 12:53:56 - OC - Connected
    02/19/25 12:53:57 - OC - Init Redis connection
    02/19/25 12:53:57 - OC - connecting to localhost:6379
    02/19/25 12:53:57 - OC - Connected
    02/19/25 12:53:58 - OC - Init Redis connection
    02/19/25 12:53:58 - OC - connecting to localhost:6379
    02/19/25 12:53:58 - OC - Connected
    02/19/25 13:53:58.208 [185.229.55.163:35224 1 MEY] 💓 ------GET HTTP/1.0 (HTTPS) /
    02/19/25 13:53:58.208 [185.229.55.163:35224 1 MEY] Query String: test
    02/19/25 13:53:58.208 [185.229.55.163:35224 1 MEY] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) G...
    02/19/25 13:53:58.208 [185.229.55.163:35224 1 MEY] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
    02/19/25 13:53:58.208 [185.229.55.163:35224 1 MEY] Accept Encoding: gzip, deflate, br
    02/19/25 13:53:58.208 [185.229.55.163:35224 1 MEY] Cookie _lscache_vary: 0217511b69dbf3d0eb0f23c749b25c69
    02/19/25 13:53:58.208 [185.229.55.163:35224 1 MEY] X-LSCACHE: true
    02/19/25 13:53:58.390 [185.229.55.163:35224 1 MEY] [Ctrl] X Cache_control -> private ( logged in user )
    02/19/25 13:53:58.391 [185.229.55.163:35224 1 MEY] [Router] get_role: administrator
    02/19/25 13:53:58.391 [185.229.55.163:35224 1 MEY] [Media] init
    02/19/25 13:53:58.392 [185.229.55.163:35224 1 MEY] [LQIP] init
    02/19/25 13:53:58.392 [185.229.55.163:35224 1 MEY] [CDN] init
    02/19/25 13:53:58.392 [185.229.55.163:35224 1 MEY] ⏰ Init
    02/19/25 13:53:58.393 [185.229.55.163:35224 1 MEY] [Router] LSCWP_CTRL bypassed empty
    02/19/25 13:53:58.393 [185.229.55.163:35224 1 MEY] [GUI] init
    02/19/25 13:53:58.461 [185.229.55.163:35224 1 MEY] 💰 [Tag] Add --- HTTP.200
    02/19/25 13:53:58.462 [185.229.55.163:35224 1 MEY] [Ctrl] X Cache_control init on
    02/19/25 13:53:58.660 [185.229.55.163:35224 1 MEY] [Core] Footer hook called
    02/19/25 13:53:58.663 [185.229.55.163:35224 1 MEY] [Core] Footer check passed
    02/19/25 13:53:58.664 [185.229.55.163:35224 1 MEY] [Ctrl] X Cache_control off - Admin configured Cookie Do not cache.
    02/19/25 13:53:58.665 [185.229.55.163:35224 1 MEY] [Ctrl] X
    Cache_control -> no Cache => LiteSpeed\Control::set_nocache()@409
    => LiteSpeed\Control->finalize()@724 =>
    LiteSpeed\LSC->send_headers()@575 =>
    WP_Hook->apply_filters(ARRAY)@324 =>
    WP_Hook->do_action(ARRAY)@348 =>
    /var/www/vhosts/stemerdinkenverhoek.nl/httpdocs/wp-includes/load.php@517
    02/19/25 13:53:58.665 [185.229.55.163:35224 1 MEY] [Vary] role in vary_group [group] 99
    02/19/25 13:53:58.665 [185.229.55.163:35224 1 MEY] [Vary] show_admin_bar_front: false
    02/19/25 13:53:58.665 [185.229.55.163:35224 1 MEY] [Vary] set_cookie ---> guest_mode:1;logged-in:1;role:99
    02/19/25 13:53:58.666 [185.229.55.163:35224 1 MEY] [Vary] no custimzed vary
    02/19/25 13:53:58.666 [185.229.55.163:35224 1 MEY] 💰 X-LiteSpeed-Cache-Control: no-cache
    02/19/25 13:53:58.666 [185.229.55.163:35224 1 MEY] 💰 Cache-Control: no-cache, no-store, must-revalidate, max-age=0
    02/19/25 13:53:58.666 [185.229.55.163:35224 1 MEY] [Vary] uid: 3
    02/19/25 13:53:58.666 [185.229.55.163:35224 1 MEY] [Vary] role in vary_group [group] 99
    02/19/25 13:53:58.667 [185.229.55.163:35224 1 MEY] [Vary] show_admin_bar_front: false
    02/19/25 13:53:58.667 [185.229.55.163:35224 1 MEY] [Core] Footer check passed
    02/19/25 13:53:58.667 [185.229.55.163:35224 1 MEY] [Core] run hook litespeed_buffer_finalize
    02/19/25 13:53:58.667 [185.229.55.163:35224 1 MEY] 📺 bypass: Not cacheable
    02/19/25 13:53:58.668 [185.229.55.163:35224 1 MEY] GUI bypassed by no counter
    02/19/25 13:53:58.668 [185.229.55.163:35224 1 MEY] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.3.17',
    1 => 'X-LiteSpeed-Tag: 078_tag_priv,public:078_HTTP.200',
    2 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
    3 => 'Content-Type: text/html; charset=UTF-8',
    4 => 'Link: <https://stemerdinkenverhoek.nl/wp-json/>; rel="https://api.w.org/"',
    5 => 'Link:
    <https://stemerdinkenverhoek.nl/wp-json/wp/v2/pages/2>;
    rel="alternate"; title="JSON"; type="application/json"',
    6 => 'Link: <https://stemerdinkenverhoek.nl/>; rel=shortlink',
    8 => 'X-LiteSpeed-Cache-Control: no-cache',
    9 => 'Cache-Control: no-cache, no-store, must-revalidate, max-age=0',
    )
    02/19/25 13:53:58.668 [185.229.55.163:35224 1 MEY] End response
    --------------------------------------------------Duration: 462.06 ms------------------------------

    Plugin Support qtwrk

    (@qtwrk)

    X Cache_control off – Admin configured Cookie Do not cache.

    you must have put something into do not cache cookie field

    Thread Starter Boris

    (@ispacecrusader)

    The only cookie I have there is “seopress-user-consent-accept”, which is for the cookie consent. I removed that, and indeed caching works immediately!
    I’ve requested support on how to resolve this at SEOpress support. Thank you for your help! I will keep this ticket open to include the solution once I receive it, as it may help others.

    Plugin Support qtwrk

    (@qtwrk)

    please try add that cookie to Cache -> Advance -> vary cookie

    Thread Starter Boris

    (@ispacecrusader)

    Ah, yes. That seems to work! Thanks!

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

The topic ‘Page uncached by LiteSpeed Cache’ is closed to new replies.