• Resolved kasra naraghi

    (@gamefa)


    Why does x-litespeed-cache miss after several refreshes?

    It works fine most of the time

    But sometimes miss is called,

    is there a way to never show miss?

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

    (@qtwrk)

    may I know how long does it take at each refresh ? and were you visiting as login user or guest user ?

    Plugin Support qtwrk

    (@qtwrk)

    please provide the report number

    you can get it in toolbox -> report -> click “send to LiteSpeed”

    Thread Starter kasra naraghi

    (@gamefa)

    Done.

    Report number: VNOAHKAL

    Thread Starter kasra naraghi

    (@gamefa)

    @qtwrk

    Hello, have you checked where the problem is?

    Plugin Support litetim

    (@litetim)

    Sorry for answering this late.

    Because of holidays my colleague was not able to look into. I will read the topic and try to help you.

    Plugin Support qtwrk

    (@qtwrk)

    please try enable purge log , see if it logs anything out

    Thread Starter kasra naraghi

    (@gamefa)

    Hello, @qtwrk

    sorry, I was on vacation, can you please check where the problem is

    11:26:34.541 [185.137.26.50:61298 1 QjM] πŸ’“ ——POST HTTP/1.1 (HTTPS) /wp-admin/admin-ajax.php01/07/25 11:26:34.541 [185.137.26.50:61298 1 QjM] HTTP_REFERER: https://gamefa.com/1114849/half-of-ps5-users-put-thei…01/07/25 11:26:34.541 [185.137.26.50:61298 1 QjM] User Agent: Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36…01/07/25 11:26:34.541 [185.137.26.50:61298 1 QjM] Accept: application/json, text/javascript, */*; q=0.0101/07/25 11:26:34.541 [185.137.26.50:61298 1 QjM] Accept Encoding: gzip, deflate, br, zstd01/07/25 11:26:34.541 [185.137.26.50:61298 1 QjM] X-LSCACHE: true01/07/25 11:26:34.541 [185.137.26.50:61298 1 QjM] X-LiteSpeed-Purge: public,7b1_Po.1114849,7b1_URL./1114849/half-of-ps5-users-put-their-consoles-in-rest-mode-says-sony/,7b1_W.recent-posts-3,7b1_Po.1115012,7b1_Po.1115097,7b1_T.2032,7b1_T.60367,7b1_T.3,7b1_T.1,7b1_T.2830,7b1_T.37785,7b1_FD,7b1_F,7b1_REST => LiteSpeed\LSC->send_headers()@624 => WP_Hook->apply_filters(,ARRAY)@324 => WP_Hook->do_action(ARRAY)@348 =>/home/gamefaco/public_html/wp-includes/load.php@517

    Plugin Support qtwrk

    (@qtwrk)

    this shows a POST request to wp-admin/admin-ajax.php , do you happen to know what kind of action that is ?

    Thread Starter kasra naraghi

    (@gamefa)

    @qtwrk

    I don’t know
    My problem is missing x-litespeed-cache
    You said to enable purge log
    I enabled it
    You can see the log in the link below

    Debug Log

    https://filebin.net/b4jn7c64zjwgly2k/Debug%20Log.txt

    Purge Log

    https://filebin.net/b4jn7c64zjwgly2k/Purge%20Log.txt


    Is there a problem?

    Plugin Support qtwrk

    (@qtwrk)

    yeah , these ajax call keep triggering purge , now just need to figure out where did these request come from

    try use debug include URI field, add wp-admin/admin-ajax.php into that field , clean up current log , then wait for some times and share the log again.

    Thread Starter kasra naraghi

    (@gamefa)

    Thread Starter kasra naraghi

    (@gamefa)

    Plugin Support qtwrk

    (@qtwrk)

    I think it might be due to comment , when someone post a comment , it flushes cache in order to reflect the new comment

    Thread Starter kasra naraghi

    (@gamefa)

    @qtwrk

    I think it’s related to the plugin wp-ulike

    https://fa.wordpress.org/plugins/wp-ulike/


    It clears the site cache with every like

    I think LiteSpeed ​​Cache should add this feature so that the site cache is not cleared by other plugins.

    Plugin Support qtwrk

    (@qtwrk)

    the purge is triggered by action like save_post() that other plugin runs

    there is no way we can tell what other plugin did , but can only detect this post saving action and trigger purge in order to update the cache , otherwise you will come to question like “why my like number is not changed after I liked a post”

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

The topic ‘x-litespeed-cache is miss’ is closed to new replies.