• Resolved Egl

    (@egletiere)


    Hi!

    I started to manage an old Woocommerce website that uses LiteSpeed Cache with Redis Extension and I am running into the following issue:

    Even though for shop and product pages cache works great (Supported + Hit), for other pages (including homepage) I get “LSCache is not supported” and “X-Litespeed-Cache-Control: no-cache” in the page headers. For these pages Cache is not disabled in the Pages menu under LiteSpeed Options.

    Any idea how I could fix this issue?

    I suspect some code is inserted and prevents cache from activation on some pages, but I do not know what code I am supposed to search for.

    Thank you!

    Report number: GTLJRYUC

    Report date: 04/05/2024 06:31:04

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

    (@qtwrk)

    please grab plugin log

    the log will state the reason for no cache

    Thread Starter Egl

    (@egletiere)

    Hi! Here is the log:

    --------------------------------------------------Duration: 1,210.42 ms------------------------------

    04/05/24 15:55:10.696 [97.146.106.36:54604 1 uwl]  ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
    04/05/24 15:55:10.696 [97.146.106.36:54604 1 uwl] Query String:
    04/05/24 15:55:10.696 [97.146.106.36:54604 1 uwl] HTTP_REFERER: https://XXX.com/shop/page/2/
    04/05/24 15:55:10.696 [97.146.106.36:54604 1 uwl] LSCACHE_VARY_VALUE: +ismobile
    04/05/24 15:55:10.779 [97.146.106.36:54604 1 uwl]  No cache due to Admin page
    04/05/24 15:55:11.262 [97.146.106.36:54604 1 uwl]  [Tag] Add --- HTTP.200
    04/05/24 15:55:11.262 [97.146.106.36:54604 1 uwl] [Ctrl] not cacheable before ctrl finalize
    04/05/24 15:55:11.262 [97.146.106.36:54604 1 uwl] [Router] get_role:
    04/05/24 15:55:11.262 [97.146.106.36:54604 1 uwl] [Vary] role id: failed, guest
    04/05/24 15:55:11.262 [97.146.106.36:54604 1 uwl] [Router] get_role:
    04/05/24 15:55:11.262 [97.146.106.36:54604 1 uwl] [Vary] can_change_vary bypassed due to ajax call
    04/05/24 15:55:11.262 [97.146.106.36:54604 1 uwl] [Ctrl]  forced no cache [reason] DONOTCACHEPAGE const
    04/05/24 15:55:11.262 [97.146.106.36:54604 1 uwl]  X-LiteSpeed-Cache-Control: no-cache
    04/05/24 15:55:11.263 [97.146.106.36:54604 1 uwl] [Router] get_role:
    04/05/24 15:55:11.263 [97.146.106.36:54604 1 uwl] [Vary] role id: failed, guest
    04/05/24 15:55:11.263 [97.146.106.36:54604 1 uwl] [Router] get_role:
    04/05/24 15:55:11.263 [97.146.106.36:54604 1 uwl] [Core] run hook litespeed_buffer_finalize
    04/05/24 15:55:11.263 [97.146.106.36:54604 1 uwl] [Core] Silence Comment due to REST/AJAX
    04/05/24 15:55:11.263 [97.146.106.36:54604 1 uwl] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.0.30',
    1 => 'Access-Control-Allow-Origin: https://XXX.com',
    2 => 'Access-Control-Allow-Credentials: true',
    3 => 'Content-Type: text/html; charset=UTF-8',
    4 => 'X-Robots-Tag: noindex',
    5 => 'X-Content-Type-Options: nosniff',
    6 => 'Referrer-Policy: strict-origin-when-cross-origin',
    7 => 'X-Frame-Options: SAMEORIGIN',
    8 => 'X-LiteSpeed-Tag: 936_HTTP.200',
    9 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
    10 => 'Cache-Control: no-cache, must-revalidate, max-age=0',
    11 => 'X-LiteSpeed-Cache-Control: no-cache',
    )
    04/05/24 15:55:11.264 [97.146.106.36:54604 1 uwl] End response
    --------------------------------------------------Duration: 568.42 ms------------------------------

    04/05/24 15:55:11.423 [96.227.89.165:53579 1 4Cz]  ------POST HTTP/1.1 (HTTPS) /
    04/05/24 15:55:11.423 [96.227.89.165:53579 1 4Cz] Query String: wc-ajax=wcpbc_get_location
    04/05/24 15:55:11.423 [96.227.89.165:53579 1 4Cz] HTTP_REFERER: https://XXX.com/shop/page/4/?_gl=1%2Auxryt0%2A_up%2AMQ..%2A_ga%2AMjkzNDAyOTA0LjE3MTIwMTUwNTI.%2A_ga_0WCD28GXPJ%2AMTcxMjAxNTA1MS4xLjEuMTcxMjAxNTE2MS4wLjAuNjEwOTYwMTI3
    04/05/24 15:55:11.423 [96.227.89.165:53579 1 4Cz] LSCACHE_VARY_VALUE: +ismobile+webp
    04/05/24 15:55:11.513 [96.227.89.165:53579 1 4Cz] [Router] get_role:
    04/05/24 15:55:11.563 [96.227.89.165:53579 1 4Cz]  [Tag] Add --- HTTP.200
    04/05/24 15:55:11.564 [96.227.89.165:53579 1 4Cz] [Ctrl] X Cache_control init on
    04/05/24 15:55:11.566 [96.227.89.165:53579 1 4Cz]  [Tag] Add --- HTTP.200
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz] [Ctrl] X Cache_control off - Not GET method: POST
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz] [Ctrl] X Cache_control -> no Cache
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz] [Router] get_role:
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz] [Vary] role id: failed, guest
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz] [Router] get_role:
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz] [Vary] can_change_vary bypassed due to ajax call
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz] [Ctrl]  forced no cache [reason] DONOTCACHEPAGE const
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz]  X-LiteSpeed-Cache-Control: no-cache
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz] [Router] get_role:
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz] [Vary] role id: failed, guest
    04/05/24 15:55:11.632 [96.227.89.165:53579 1 4Cz] [Router] get_role:
    04/05/24 15:55:11.633 [96.227.89.165:53579 1 4Cz] [Core] run hook litespeed_buffer_finalize
    04/05/24 15:55:11.633 [96.227.89.165:53579 1 4Cz] [Core] Silence Comment due to REST/AJAX
    04/05/24 15:55:11.633 [96.227.89.165:53579 1 4Cz] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.0.30',
    1 => 'Pragma: no-cache',
    2 => 'Access-Control-Allow-Origin: https://XXX.com',
    3 => 'Access-Control-Allow-Credentials: true',
    4 => 'X-Content-Type-Options: nosniff',
    5 => 'X-Robots-Tag: noindex',
    6 => 'X-LiteSpeed-Tag: 936_HTTP.200,936_HTTP.200',
    7 => 'Content-Type: application/json; charset=UTF-8',
    8 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
    9 => 'Cache-Control: no-cache, must-revalidate, max-age=0',
    10 => 'X-LiteSpeed-Cache-Control: no-cache',
    )
    04/05/24 15:55:11.633 [96.227.89.165:53579 1 4Cz] End response
    --------------------------------------------------Duration: 211.01 ms------------------------------

    04/05/24 15:55:12.174 [96.227.89.165:53579 1 DwV]  ------GET HTTP/1.1 (HTTPS) /wp-json/complianz/v1/banner
    04/05/24 15:55:12.174 [96.227.89.165:53579 1 DwV] Query String: lang=en&locale=en_US&token=wpqch
    04/05/24 15:55:12.174 [96.227.89.165:53579 1 DwV] HTTP_REFERER: https://XXX.com/shop/page/4/?_gl=1%2Auxryt0%2A_up%2AMQ..%2A_ga%2AMjkzNDAyOTA0LjE3MTIwMTUwNTI.%2A_ga_0WCD28GXPJ%2AMTcxMjAxNTA1MS4xLjEuMTcxMjAxNTE2MS4wLjAuNjEwOTYwMTI3
    04/05/24 15:55:12.174 [96.227.89.165:53579 1 DwV] LSCACHE_VARY_VALUE: +ismobile+webp
    04/05/24 15:55:12.286 [96.227.89.165:53579 1 DwV] [Vary]  Guest mode
    04/05/24 15:55:12.287 [96.227.89.165:53579 1 DwV] [Router] get_role:
    04/05/24 15:55:12.287 [96.227.89.165:53579 1 DwV] [Optm] init
    04/05/24 15:55:12.361 [96.227.89.165:53579 1 DwV] [Ctrl] X Cache_control init on
    04/05/24 15:55:12.388 [96.227.89.165:53579 1 DwV] [Vary] Rest API init disabled vary change
    04/05/24 15:55:12.428 [96.227.89.165:53579 1 DwV]  [Tag] Add --- HTTP.200
    04/05/24 15:55:12.429 [96.227.89.165:53579 1 DwV] [Router] get_role:
    04/05/24 15:55:12.429 [96.227.89.165:53579 1 DwV]  X-LiteSpeed-Cache-Control: public,max-age=604800
    04/05/24 15:55:12.429 [96.227.89.165:53579 1 DwV]  X-LiteSpeed-Tag: 936_HTTP.200,936_default,936_URL./wp-json/complianz/v1/banner/,936_REST,936_guest,936_
    04/05/24 15:55:12.429 [96.227.89.165:53579 1 DwV] [Core] run hook litespeed_buffer_finalize
    04/05/24 15:55:12.429 [96.227.89.165:53579 1 DwV] [Optm] bypass: Not frontend HTML type
    04/05/24 15:55:12.429 [96.227.89.165:53579 1 DwV] [Core] Silence Comment due to REST/AJAX
    04/05/24 15:55:12.430 [96.227.89.165:53579 1 DwV] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.0.30',
    1 => 'X-DNS-Prefetch-Control: on',
    2 => 'Content-Type: application/json; charset=UTF-8',
    3 => 'X-Robots-Tag: noindex',
    4 => 'Link: <https://XXX.com/wp-json/>; rel="https://api.w.org/"',
    5 => 'X-Content-Type-Options: nosniff',
    6 => 'Access-Control-Expose-Headers: X-WP-Total, X-WP-TotalPages, Link',
    7 => 'Access-Control-Allow-Headers: Authorization, X-WP-Nonce, Content-Disposition, Content-MD5, Content-Type',
    8 => 'Allow: GET',
    9 => 'Vary: Origin',
    10 => 'X-LiteSpeed-Cache-Control: public,max-age=604800',
    11 => 'X-LiteSpeed-Tag: 936_HTTP.200,936_default,936_URL./wp-json/complianz/v1/banner/,936_REST,936_guest,936_',
    )
    04/05/24 15:55:12.430 [96.227.89.165:53579 1 DwV] End response
    --------------------------------------------------Duration: 256.13 ms------------------------------

    04/05/24 15:55:12.443 [96.227.89.165:53579 1 9fT]  ------POST HTTP/1.1 (HTTPS) /
    04/05/24 15:55:12.443 [96.227.89.165:53579 1 9fT] Query String: wc-ajax=get_refreshed_fragments
    04/05/24 15:55:12.443 [96.227.89.165:53579 1 9fT] HTTP_REFERER: https://XXX.com/shop/page/4/?_gl=1%2Auxryt0%2A_up%2AMQ..%2A_ga%2AMjkzNDAyOTA0LjE3MTIwMTUwNTI.%2A_ga_0WCD28GXPJ%2AMTcxMjAxNTA1MS4xLjEuMTcxMjAxNTE2MS4wLjAuNjEwOTYwMTI3
    04/05/24 15:55:12.443 [96.227.89.165:53579 1 9fT] LSCACHE_VARY_VALUE: +ismobile+webp
    04/05/24 15:55:12.570 [96.227.89.165:53579 1 9fT] [Router] get_role:
    04/05/24 15:55:12.645 [96.227.89.165:53579 1 9fT]  [Tag] Add --- HTTP.200
    04/05/24 15:55:12.646 [96.227.89.165:53579 1 9fT] [Ctrl] X Cache_control init on
    04/05/24 15:55:12.648 [96.227.89.165:53579 1 9fT]  [Tag] Add --- HTTP.200
    04/05/24 15:55:12.649 [96.227.89.165:53579 1 9fT] [Ctrl] X Cache_control off - Not GET method: POST
    04/05/24 15:55:12.649 [96.227.89.165:53579 1 9fT] [Ctrl] X Cache_control -> no Cache
    04/05/24 15:55:12.649 [96.227.89.165:53579 1 9fT] [Router] get_role:
    04/05/24 15:55:12.649 [96.227.89.165:53579 1 9fT] [Vary] role id: failed, guest
    04/05/24 15:55:12.649 [96.227.89.165:53579 1 9fT] [Router] get_role:
    04/05/24 15:55:12.650 [96.227.89.165:53579 1 9fT] [Vary] can_change_vary bypassed due to ajax call
    04/05/24 15:55:12.650 [96.227.89.165:53579 1 9fT] [Ctrl]  forced no cache [reason] DONOTCACHEPAGE const
    04/05/24 15:55:12.650 [96.227.89.165:53579 1 9fT]  X-LiteSpeed-Cache-Control: no-cache
    04/05/24 15:55:12.650 [96.227.89.165:53579 1 9fT] [Router] get_role:
    04/05/24 15:55:12.650 [96.227.89.165:53579 1 9fT] [Vary] role id: failed, guest
    04/05/24 15:55:12.650 [96.227.89.165:53579 1 9fT] [Router] get_role:
    04/05/24 15:55:12.650 [96.227.89.165:53579 1 9fT] [Core] run hook litespeed_buffer_finalize
    04/05/24 15:55:12.650 [96.227.89.165:53579 1 9fT] [Core] Silence Comment due to REST/AJAX
    04/05/24 15:55:12.650 [96.227.89.165:53579 1 9fT] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.0.30',
    1 => 'Pragma: no-cache',
    2 => 'Access-Control-Allow-Origin: https://XXX.com',
    3 => 'Access-Control-Allow-Credentials: true',
    4 => 'X-Content-Type-Options: nosniff',
    5 => 'X-Robots-Tag: noindex',
    6 => 'X-LiteSpeed-Tag: 936_HTTP.200,936_HTTP.200',
    7 => 'Content-Type: application/json; charset=UTF-8',
    8 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
    9 => 'Cache-Control: no-cache, must-revalidate, max-age=0',
    10 => 'X-LiteSpeed-Cache-Control: no-cache',
    )
    04/05/24 15:55:12.650 [96.227.89.165:53579 1 9fT] End response
    --------------------------------------------------Duration: 209.08 ms------------------------------

    04/05/24 15:55:13.015 [96.227.89.165:53579 1 eLd]  ------GET HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
    04/05/24 15:55:13.015 [96.227.89.165:53579 1 eLd] Query String: action=pys_get_gdpr_filters_values
    04/05/24 15:55:13.015 [96.227.89.165:53579 1 eLd] HTTP_REFERER: https://XXX.com/shop/page/4/?_gl=1%2Auxryt0%2A_up%2AMQ..%2A_ga%2AMjkzNDAyOTA0LjE3MTIwMTUwNTI.%2A_ga_0WCD28GXPJ%2AMTcxMjAxNTA1MS4xLjEuMTcxMjAxNTE2MS4wLjAuNjEwOTYwMTI3
    04/05/24 15:55:13.015 [96.227.89.165:53579 1 eLd] LSCACHE_VARY_VALUE: +ismobile+webp
    04/05/24 15:55:13.100 [96.227.89.165:53579 1 eLd]  No cache due to Admin page
    04/05/24 15:55:13.260 [96.227.89.165:53579 1 eLd] [Ctrl] not cacheable before ctrl finalize
    04/05/24 15:55:13.260 [96.227.89.165:53579 1 eLd] [Router] get_role:
    04/05/24 15:55:13.260 [96.227.89.165:53579 1 eLd] [Vary] role id: failed, guest
    04/05/24 15:55:13.260 [96.227.89.165:53579 1 eLd] [Router] get_role:
    04/05/24 15:55:13.260 [96.227.89.165:53579 1 eLd] [Vary] can_change_vary bypassed due to ajax call
    04/05/24 15:55:13.260 [96.227.89.165:53579 1 eLd] [Ctrl]  forced no cache [reason] DONOTCACHEPAGE const
    04/05/24 15:55:13.260 [96.227.89.165:53579 1 eLd]  X-LiteSpeed-Cache-Control: no-cache
    04/05/24 15:55:13.260 [96.227.89.165:53579 1 eLd] [Router] get_role:
    04/05/24 15:55:13.261 [96.227.89.165:53579 1 eLd] [Vary] role id: failed, guest
    04/05/24 15:55:13.261 [96.227.89.165:53579 1 eLd] [Router] get_role:
    04/05/24 15:55:13.261 [96.227.89.165:53579 1 eLd] [Core] run hook litespeed_buffer_finalize
    04/05/24 15:55:13.262 [96.227.89.165:53579 1 eLd] [Core] Silence Comment due to REST/AJAX
    04/05/24 15:55:13.262 [96.227.89.165:53579 1 eLd] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.0.30',
    1 => 'X-Robots-Tag: noindex',
    2 => 'X-Content-Type-Options: nosniff',
    3 => 'Referrer-Policy: strict-origin-when-cross-origin',
    4 => 'X-Frame-Options: SAMEORIGIN',
    5 => 'Content-Type: application/json; charset=UTF-8',
    6 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
    7 => 'Cache-Control: no-cache, must-revalidate, max-age=0',
    8 => 'X-LiteSpeed-Cache-Control: no-cache',
    )
    04/05/24 15:55:13.262 [96.227.89.165:53579 1 eLd] End response
    --------------------------------------------------Duration: 248.35 ms------------------------------

    04/05/24 15:55:13.533 [96.227.89.165:53579 1 Sw6]  ------POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php
    04/05/24 15:55:13.533 [96.227.89.165:53579 1 Sw6] Query String:
    04/05/24 15:55:13.533 [96.227.89.165:53579 1 Sw6] HTTP_REFERER: https://XXX.com/shop/page/4/?_gl=1%2Auxryt0%2A_up%2AMQ..%2A_ga%2AMjkzNDAyOTA0LjE3MTIwMTUwNTI.%2A_ga_0WCD28GXPJ%2AMTcxMjAxNTA1MS4xLjEuMTcxMjAxNTE2MS4wLjAuNjEwOTYwMTI3
    04/05/24 15:55:13.533 [96.227.89.165:53579 1 Sw6] LSCACHE_VARY_VALUE: +ismobile+webp
    04/05/24 15:55:13.635 [96.227.89.165:53579 1 Sw6]  No cache due to Admin page
    04/05/24 15:55:14.145 [96.227.89.165:53579 1 Sw6]  [Tag] Add --- HTTP.200
    04/05/24 15:55:14.146 [96.227.89.165:53579 1 Sw6] [Ctrl] not cacheable before ctrl finalize
    04/05/24 15:55:14.146 [96.227.89.165:53579 1 Sw6] [Router] get_role:
    04/05/24 15:55:14.146 [96.227.89.165:53579 1 Sw6] [Vary] role id: failed, guest
    04/05/24 15:55:14.146 [96.227.89.165:53579 1 Sw6] [Router] get_role:
    04/05/24 15:55:14.146 [96.227.89.165:53579 1 Sw6] [Vary] can_change_vary bypassed due to ajax call
    04/05/24 15:55:14.146 [96.227.89.165:53579 1 Sw6] [Ctrl]  forced no cache [reason] DONOTCACHEPAGE const
    04/05/24 15:55:14.146 [96.227.89.165:53579 1 Sw6]  X-LiteSpeed-Cache-Control: no-cache
    04/05/24 15:55:14.146 [96.227.89.165:53579 1 Sw6] [Router] get_role:
    04/05/24 15:55:14.146 [96.227.89.165:53579 1 Sw6] [Vary] role id: failed, guest
    04/05/24 15:55:14.146 [96.227.89.165:53579 1 Sw6] [Router] get_role:
    04/05/24 15:55:14.148 [96.227.89.165:53579 1 Sw6] [Core] run hook litespeed_buffer_finalize
    04/05/24 15:55:14.148 [96.227.89.165:53579 1 Sw6] [Core] Silence Comment due to REST/AJAX
    04/05/24 15:55:14.148 [96.227.89.165:53579 1 Sw6] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.0.30',
    1 => 'Access-Control-Allow-Origin: https://XXX.com',
    2 => 'Access-Control-Allow-Credentials: true',
    3 => 'Content-Type: text/html; charset=UTF-8',
    4 => 'X-Robots-Tag: noindex',
    5 => 'X-Content-Type-Options: nosniff',
    6 => 'Referrer-Policy: strict-origin-when-cross-origin',
    7 => 'X-Frame-Options: SAMEORIGIN',
    8 => 'X-LiteSpeed-Tag: 936_HTTP.200',
    9 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
    10 => 'Cache-Control: no-cache, must-revalidate, max-age=0',
    11 => 'X-LiteSpeed-Cache-Control: no-cache',
    )
    04/05/24 15:55:14.148 [96.227.89.165:53579 1 Sw6] End response
    --------------------------------------------------Duration: 616.04 ms------------------------------

    04/05/24 15:55:15.930 [185.52.2.144:35718 1 b9G]  ------GET HTTP/1.1 (HTTPS) /
    04/05/24 15:55:15.930 [185.52.2.144:35718 1 b9G] Query String:
    04/05/24 15:55:16.042 [185.52.2.144:35718 1 b9G] [Vary]  Guest mode
    04/05/24 15:55:16.042 [185.52.2.144:35718 1 b9G] [Router] get_role:
    04/05/24 15:55:16.042 [185.52.2.144:35718 1 b9G] [Optm] init
    04/05/24 15:55:16.140 [185.52.2.144:35718 1 b9G]  [Tag] Add --- HTTP.200
    04/05/24 15:55:16.141 [185.52.2.144:35718 1 b9G] [Ctrl] X Cache_control init on
    04/05/24 15:55:16.159 [91.188.226.14:37828 1 uBC]  ------POST HTTP/1.1 (HTTPS) /wp-cron.php
    04/05/24 15:55:16.159 [91.188.226.14:37828 1 uBC] Query String: doing_wp_cron=1712321716.1037359237670898437500
    04/05/24 15:55:16.334 [185.52.2.144:35718 1 b9G] [Core] Footer hook called
    04/05/24 15:55:16.338 [91.188.226.14:37828 1 uBC] [Router] get_role:
    04/05/24 15:55:16.338 [91.188.226.14:37828 1 uBC] [Optm] init
    04/05/24 15:55:16.375 [185.52.2.144:35718 1 b9G] [Core] Footer check passed
    04/05/24 15:55:16.375 [185.52.2.144:35718 1 b9G] [Router] get_role:
    04/05/24 15:55:16.376 [185.52.2.144:35718 1 b9G] [Ctrl]  forced no cache [reason] DONOTCACHEPAGE const
    04/05/24 15:55:16.376 [185.52.2.144:35718 1 b9G]  X-LiteSpeed-Cache-Control: no-cache
    04/05/24 15:55:16.376 [185.52.2.144:35718 1 b9G]  X-LiteSpeed-Tag: 936_HTTP.200,936_page,936_URL./,936_Po.17,936_PGS,936_guest,936_
    04/05/24 15:55:16.524 [185.52.2.144:35718 1 b9G] [Core] Footer check passed
    04/05/24 15:55:16.524 [185.52.2.144:35718 1 b9G] [Core] run hook litespeed_buffer_finalize
    04/05/24 15:55:16.524 [185.52.2.144:35718 1 b9G]  finalize
    04/05/24 15:55:16.524 [185.52.2.144:35718 1 b9G]  lazyload disabled
    04/05/24 15:55:16.525 [185.52.2.144:35718 1 b9G] [Optm] start
    04/05/24 15:55:16.590 [91.188.226.14:37828 1 uBC]  !!! Err: Header sent out already
    04/05/24 15:55:16.590 [91.188.226.14:37828 1 uBC] [Core] run hook litespeed_buffer_finalize
    04/05/24 15:55:16.590 [91.188.226.14:37828 1 uBC] [Optm] bypass: Not frontend HTML type
    04/05/24 15:55:16.590 [91.188.226.14:37828 1 uBC] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.0.30',
    1 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
    2 => 'Cache-Control: no-cache, must-revalidate, max-age=0',
    3 => 'Content-type: text/html; charset=UTF-8',
    )
    04/05/24 15:55:16.590 [91.188.226.14:37828 1 uBC] End response
    --------------------------------------------------Duration: 432.63 ms------------------------------

    04/05/24 15:55:17.042 [185.52.2.144:35718 1 b9G] Response headers --- array (
    0 => 'X-Powered-By: PHP/8.0.30',
    1 => 'X-DNS-Prefetch-Control: on',
    2 => 'Set-Cookie: mailchimp_landing_site=https%3A%2F%2FXXX.com%2F; expires=Fri, 03-May-2024 12:55:16 GMT; Max-Age=2419200; path=/; secure; SameSite=Strict',
    3 => 'Content-Type: text/html; charset=UTF-8',
    4 => 'Set-Cookie: PHPSESSID=1efp04bami6qp26mjg2pbovdrq; path=/',
    5 => 'Pragma: no-cache',
    6 => 'Expires: Wed, 11 Jan 1984 05:00:00 GMT',
    7 => 'Cache-Control: no-cache, must-revalidate, max-age=0',
    8 => 'Link: <https://XXX.com/wp-json/>; rel="https://api.w.org/"',
    9 => 'X-LiteSpeed-Cache-Control: no-cache',
    10 => 'X-LiteSpeed-Tag: 936_HTTP.200,936_page,936_URL./,936_Po.17,936_PGS,936_guest,936_',
    )
    04/05/24 15:55:17.042 [185.52.2.144:35718 1 b9G] End response
    --------------------------------------------------Duration: 1,113.71 ms------------------------------
    Plugin Support qtwrk

    (@qtwrk)

    [Ctrl]  forced no cache [reason] DONOTCACHEPAGE const

    something defined this constant to tell other plugins don’t cache page

    our plugin will obey this , but you can add this to your theme’s functions.php to override it

    add_filter( 'litespeed_const_DONOTCACHEPAGE', '__return_false' );
    Thread Starter Egl

    (@egletiere)

    The solution you provided fixed the issue. Thank you for your support!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘no-cache on some pages’ is closed to new replies.