• Resolved iambidyutkumar

    (@iambidyutkumar)


    After installing the LiteSpeed cache plugin it is not caching any pages and WordPress is showing a message that “page cache not detected”.

    12/23/23 19:37:53.883 [47.11.196.216:56936 1 fAZ] ?? ------GET HTTP/1.1 (HTTPS) /verify-doctor/
    12/23/23 19:37:53.883 [47.11.196.216:56936 1 fAZ] Query String:
    12/23/23 19:37:53.883 [47.11.196.216:56936 1 fAZ] HTTP_REFERER: https://siligurihomeopathydoctors.in/verify-doctor/
    12/23/23 19:37:53.883 [47.11.196.216:56936 1 fAZ] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36
    12/23/23 19:37:53.883 [47.11.196.216:56936 1 fAZ] Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7
    12/23/23 19:37:53.883 [47.11.196.216:56936 1 fAZ] Accept Encoding: gzip, deflate, br
    12/23/23 19:37:53.883 [47.11.196.216:56936 1 fAZ] X-LSCACHE: true
    12/23/23 19:37:53.889 [47.11.196.216:56936 1 fAZ] [Router] get_role:
    12/23/23 19:37:53.889 [47.11.196.216:56936 1 fAZ] [Media] init
    12/23/23 19:37:53.889 [47.11.196.216:56936 1 fAZ] [LQIP] init
    12/23/23 19:37:53.889 [47.11.196.216:56936 1 fAZ] [Optm] init
    12/23/23 19:37:53.889 [47.11.196.216:56936 1 fAZ] [CDN] init
    12/23/23 19:37:53.890 [47.11.196.216:56936 1 fAZ] ? Init
    12/23/23 19:37:53.890 [47.11.196.216:56936 1 fAZ] [Router] LSCWP_CTRL bypassed empty
    12/23/23 19:37:53.890 [47.11.196.216:56936 1 fAZ] [GUI] init
    12/23/23 19:37:54.166 [47.11.196.216:56936 1 fAZ] ?? [Tag] Add --- HTTP.200
    12/23/23 19:37:54.166 [47.11.196.216:56936 1 fAZ] [Ctrl] X Cache_control init on
    12/23/23 19:37:54.255 [47.11.196.216:56936 1 fAZ] [Core] Footer hook called
    12/23/23 19:37:54.258 [47.11.196.216:56936 1 fAZ] [Core] Footer check passed
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Router] get_role:
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Router] get_role:
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Vary] role id: failed, guest
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Router] get_role:
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Router] get_role:
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Vary] no custimzed vary
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] ?? X-LiteSpeed-Cache-Control: public,max-age=604800
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Router] get_role:
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Vary] role id: failed, guest
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Router] get_role:
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Router] get_role:
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] ?? X-LiteSpeed-Tag: 2a6_HTTP.200,2a6_page,2a6_URL./verify-doctor/,2a6_Po.37,2a6_PGS,2a6_
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Core] Footer check passed
    12/23/23 19:37:54.259 [47.11.196.216:56936 1 fAZ] [Core] run hook litespeed_buffer_finalize
    12/23/23 19:37:54.260 [47.11.196.216:56936 1 fAZ] ?? finalize
    12/23/23 19:37:54.260 [47.11.196.216:56936 1 fAZ] ?? lazyload disabled
    12/23/23 19:37:54.260 [47.11.196.216:56936 1 fAZ] GUI bypassed by no counter
    12/23/23 19:37:54.260 [47.11.196.216:56936 1 fAZ] [Optm] start
    12/23/23 19:37:54.260 [47.11.196.216:56936 1 fAZ] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.1.24',
    1 => 'Content-Type: text/html; charset=UTF-8',
    2 => 'Link: <https://siligurihomeopathydoctors.in/wp-json/>; rel="https://api.w.org/"',
    3 => 'Link: <https://siligurihomeopathydoctors.in/wp-json/wp/v2/pages/37>; rel="alternate"; type="application/json"',
    4 => 'Link: <https://siligurihomeopathydoctors.in/?p=37>; rel=shortlink',
    5 => 'X-LiteSpeed-Cache-Control: public,max-age=604800',
    6 => 'X-LiteSpeed-Tag: 2a6_HTTP.200,2a6_page,2a6_URL./verify-doctor/,2a6_Po.37,2a6_PGS,2a6_',
    )
    12/23/23 19:37:54.260 [47.11.196.216:56936 1 fAZ] End response
    --------------------------------------------------Duration: 377.99 ms------------------------------

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • After installing the LiteSpeed cache plugin it is not caching any pages and WordPress is showing a message that “page cache not detected”.

    This is a false positive message. LScache is running at your page, but a URL must be requested once to get it cached, so the first request is always a miss, if it is still uncached. WordPress isn’t smart enough to determine whether the cache is working. To check if the LScache is working, either check the x-litespeed-cache response header in your browser or use https://check.lscache.io/ or watch this video: https://www.youtube.com/watch?v=M9YDUV-LqYQ

    • This reply was modified 11 months, 1 week ago by supervisior.
    Plugin Support qtwrk

    (@qtwrk)

    I can confirm the cache is working.

    Thread Starter iambidyutkumar

    (@iambidyutkumar)

    Now its working

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Litespeed Cache not caching any page’ is closed to new replies.