• Resolved melahi94

    (@melahi94)


    Hi there
    I decided to migrate from Nginx server to LiteSpeed server and I’m testing it now.
    The problem is that when I visit the website for the first time it is so slow and it has “x-litespeed-cache: miss” tag that I think it is normal for first visit, for the next minutes the page is super fast and it has “x-litespeed-cache: hit” tag. But after about 15 minutes it shows “x-litespeed-cache: miss” again.
    I tried to fix it using other support topics and your troubleshooting page but I failed.
    Report number: YQRETLNC

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

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

    (@qtwrk)

    Hi,

    please follow this guide to grab the page tag and purge tag

    Best regards,

    Thread Starter melahi94

    (@melahi94)

    Hi

    Thanks for your reply.
    Here is what I did:
    1. purge option completely disabled.
    2. purge All
    3. opening the website (x-litespeed-cache: miss)
    4. opening the website again (x-litespeed-cache: hit)
    5. opening the website after about 1 hour (x-litespeed-cache: miss)

    I found no purge tag in the debug file unless the one I done manually at the beginning.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    please try repeat the process, but this time , set debug log to ALL , instead of admin IP , check if you have /wp-content/debug.purge.log , if so , empty it

    and then , wait for an hour or so , then check if cache miss, what is the content of /wp-content/debug.purge.log

    Best regards,

    Thread Starter melahi94

    (@melahi94)

    Hi
    I repeated the process and set debug to ALL.
    Here is the debug.purge.log content:

    09/09/21 09:51:17.428 [109.125.147.213:56604 1 1gv] 💓 ------GET HTTP/1.1 (HTTPS)  /wp-admin/admin.php
    09/09/21 09:51:17.428 [109.125.147.213:56604 1 1gv] Query String: page=litespeed-cache&LSCWP_NONCE=a66bd3fafa&litespeed_type=purge_all&LSCWP_CTRL=purge
    09/09/21 09:51:17.428 [109.125.147.213:56604 1 1gv] HTTP_REFERER: https://new.daytg.com/wp-admin/admin.php?page=litespeed-cache&LSCWP_CTRL=purge&LSCWP_NONCE=22b8a5b396&litespeed_type=purge_all
    09/09/21 09:51:17.428 [109.125.147.213:56604 1 1gv] User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36
    09/09/21 09:51:17.428 [109.125.147.213:56604 1 1gv] 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.9
    09/09/21 09:51:17.428 [109.125.147.213:56604 1 1gv] Accept Encoding: gzip, deflate, br
    09/09/21 09:51:17.428 [109.125.147.213:56604 1 1gv] Cookie _lscache_vary: admin_bar:1;guest_mode:1;logged-in:1;role:99
    09/09/21 09:51:17.428 [109.125.147.213:56604 1 1gv] X-LSCACHE: true
    09/09/21 09:51:17.428 [109.125.147.213:56604 1 1gv] LSCACHE_VARY_VALUE: +webp
    09/09/21 09:51:17.428 [109.125.147.213:56604 1 1gv] X-LiteSpeed-Purge: public,650_ => LiteSpeed\LSC->send_headers()@547 => WP_Hook->apply_filters(,ARRAY)@303 => WP_Hook->do_action(ARRAY)@327 => 
    /home/daytgir/domains/new.daytg.com/public_html/wp-includes/load.php@470
    

    This purge is related to the one I did manually at the beginning.

    The debug.log file is 141mb and growing every seconds. Since this website isn’t live and all the logs related to my IP and my Server IP, is it normal?

    Plugin Support qtwrk

    (@qtwrk)

    141MB is not normal , please check tail it for few seconds and see what are being written into it

    the log shows you have manually purged as you said , but there is no further action be done by yourself ? and cache still become miss ?

    Thread Starter melahi94

    (@melahi94)

    Hi
    Regarding the debug file, all lines includes my server IP. It produce about 1Mb every 30sec.
    There are too much lines like this:

    
    09/10/21 10:07:43.234 [185.73.226.75:52982 1 MAH] [Optm] _parse_js bypassed due to inline js
    09/10/21 10:07:43.119 [185.73.226.75:52982 1 MAH] [LQIP] _generate_placeholder local [size] ...
    09/10/21 10:07:43.002 [185.73.226.75:52982 1 MAH] [Media] lazyload found: ...
    09/10/21 10:07:42.783 [185.73.226.75:52746 1 pCm] [CSS] Load local [js] ...
    09/10/21 10:07:42.468 [185.73.226.75:52746 1 pCm] [Media] ⚠️ Missing sizes for image [src] ...
    

    Regarding the cache problem, I didn’t do anything between my visits to website and yes, the cache missed.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    okay , please create a ticket by mail to support at litespeedtech.com

    we will investigate further

    Best regards,

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

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