• Resolved hellogerowsky

    (@hellogerowsky)


    Hey there,

    I have a crawler running and it shows every dot in green.
    But when I open my website I always get a cache miss on first load.
    Only after I visited a page manually I get served the cached version.

    As I understand it shouldn’t be that way.
    How can I fix this?

    PS: After I purge all caches the crawler still shows everything in green and sits idle. Shouldn’t the crawler show everything in grey and restart immediately? Or do I need to start crawling manually?

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

    (@qtwrk)

    Hi,

    no , crawler won’t re-start immediately , and the status (the color dots) are not real-time , it is the status on last crawler run it did

    the crawler will only start again after it reaches next “crawler interval” time

    Best regards,

    Thread Starter hellogerowsky

    (@hellogerowsky)

    Thanks for clarifying!

    However, the problem remains:
    – I purge the page
    – I start the crawler
    – after that every dot is green or blue
    – if I open a page it shows page miss (however, after THAT the page loads from cache, even on a different device)

    Any idea why this happens?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    pleas enable the debug log to ALL IP , then run crawler , after it finishes , check file /wp-content/debug.purge.log see if there is any purge happened

    Best regards,

    Thread Starter hellogerowsky

    (@hellogerowsky)

    Thanks, I checked. There are multiple instances of a cache purge.

    I’ve got 9 times this:

    12/16/21 21:45:28.493 [145.14.157.107:37160 1 nKA] [CSS] con: /* [ERROR] Unknown word ( ocart-762-98{oxy-ou-addtocart--price - s ) : Please fix this css error and then try again. The problem may be around this string, normally right after it. At least you can find out which css file contains this css string and exclude it from css combine. */
    12/16/21 21:45:28.493 [145.14.157.107:37160 1 nKA] [CSS] ? empty ucss [content] /* [ERROR] Unknown word ( ocart-762-98{oxy-ou-addtocart--price - s ) : Please fix this css error and then try again. The problem may be around this string, normally right after it. At least you can find out which css file contains this css string and exclude it from css combine. */
    12/16/21 21:45:28.493 [145.14.157.107:37160 1 nKA] [CSS] Save URL to file [file] /home/shop.hellogerowsky.de/public_html/wp-content/litespeed/ucss/ec67bcb51a36eabf881d83c0ad540d48.css [vary] guest_mode:1+ismobile
    12/16/21 21:45:28.495 [145.14.157.107:37160 1 nKA] [Purge] added _UCSS.b3ac664ababa96387f2c5d84e16666cc => LiteSpeed\Purge->_add(ARRAY)@421 => LiteSpeed\Purge::add(UCSS.b3ac664ababa96387f2c5d84e16666cc)@393 => LiteSpeed\CSS->_save_con(ucss,/* [ERROR] Unknown word ( ocart-762-98{oxy-ou-addtocart--price - s ) : Please fix this css erro)@516 => LiteSpeed\CSS->_send_req(https://shop.hellogerowsky.de/product/harry-otter,guest_mode:1+ismobile https://shop.hellogerowsky.d)@466 => LiteSpeed\CSS->_cron_handler(ucss)@350 => LiteSpeed\CSS::cron_ucss()@305 => WP_Hook->apply_filters(,ARRAY)@303 => WP_Hook->do_action(ARRAY)@327 => 
    /home/shop.hellogerowsky.de/public_html/wp-cron.php@518
    12/16/21 21:45:28.495 [145.14.157.107:37160 1 nKA] X-LiteSpeed-Purge: public,98d_UCSS.b3ac664ababa96387f2c5d84e16666cc
    12/16/21 21:45:28.541 [145.14.157.107:37160 1 nKA] ?? ......crawler started......
    12/16/21 21:45:28.542 [145.14.157.107:37160 1 nKA] ?? Cron abort: cache warmed already.
    12/16/21 21:45:28.564 [145.14.157.107:37160 1 nKA] [ImgOptm] init
    12/16/21 21:45:28.565 [145.14.157.107:37160 1 nKA] [Img_Optm] allowance_max 200 wet_limit 
    12/16/21 21:45:28.565 [145.14.157.107:37160 1 nKA] [Img_Optm] preparing images to push
    12/16/21 21:45:28.566 [145.14.157.107:37160 1 nKA] [Img_Optm] need gather due to no new raw image found
    12/16/21 21:45:28.566 [145.14.157.107:37160 1 nKA] [Data] Checking table img_optm
    12/16/21 21:45:28.567 [145.14.157.107:37160 1 nKA] [Data] Existed
    12/16/21 21:45:28.567 [145.14.157.107:37160 1 nKA] [Data] Checking table img_optming
    12/16/21 21:45:28.567 [145.14.157.107:37160 1 nKA] [Data] Existed
    12/16/21 21:45:28.572 [145.14.157.107:37160 1 nKA] [Img_Optm] gather_images bypass: no new image found
    12/16/21 21:45:28.689 [145.14.157.107:37160 1 nKA] [Img_Optm] cron_pull running
    12/16/21 21:45:28.689 [145.14.157.107:37160 1 nKA] [Img_Optm] ? no need pull [tag] 9
    12/16/21 21:45:28.699 [145.14.157.107:37160 1 nKA] [Core] CHK html bypass: miss footer const
    12/16/21 21:45:28.699 [145.14.157.107:37160 1 nKA] [Ctrl] not cacheable before ctrl finalize
    12/16/21 21:45:28.699 [145.14.157.107:37160 1 nKA] [Router] get_role: 
    12/16/21 21:45:28.699 [145.14.157.107:37160 1 nKA] [Vary] role id: failed, guest
    12/16/21 21:45:28.699 [145.14.157.107:37160 1 nKA] [Router] get_role: 
    12/16/21 21:45:28.699 [145.14.157.107:37160 1 nKA] [Router] get_role: 
    12/16/21 21:45:28.699 [145.14.157.107:37160 1 nKA] [Vary] set_cookie ---> guest_mode:1
    12/16/21 21:45:28.699 [145.14.157.107:37160 1 nKA] [Vary] no custimzed vary
    12/16/21 21:45:28.700 [145.14.157.107:37160 1 nKA] ?? X-LiteSpeed-Cache-Control: no-cache
    12/16/21 21:45:28.700 [145.14.157.107:37160 1 nKA] ?? X-LiteSpeed-Purge: public,98d_UCSS.b3ac664ababa96387f2c5d84e16666cc
    12/16/21 21:45:28.701 [145.14.157.107:37160 1 nKA] [Core] CHK html bypass: miss footer const
    12/16/21 21:45:28.701 [145.14.157.107:37160 1 nKA] [Media] bypass: Not frontend HTML type
    12/16/21 21:45:28.701 [145.14.157.107:37160 1 nKA] GUI bypassed by no counter
    12/16/21 21:45:28.701 [145.14.157.107:37160 1 nKA] [Optm] bypass: Not frontend HTML type
    12/16/21 21:45:28.701 [145.14.157.107:37160 1 nKA] End response
    --------------------------------------------------------------------------------

    I am sorry – I can’t make anything out of this. Any suggestion what I should do?
    Is it purging just because of this CSS bug?

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    98d_UCSS.b3ac664ababa96387f2c5d84e16666cc

    it has UCSS tag, , the ucss generation is async , which means it is generating in background , so this is what happens

    when you access a page , it doesn’t have ucss, page gets cached , and ucss put in queue in background , once the ucss is generated, it will purge this page in order to insert the ucss into it

    you can either disable ucss , or wait for all ucss generation complete , then it won’t purge page like this anymore

    Best regards,

    Thread Starter hellogerowsky

    (@hellogerowsky)

    Hey qtwrk,

    thanks for your reply!
    I fixed the CSS bugs and tried it again: made no difference.
    Then I disabled all CSS optimizations and tried it again. But still: same problem.

    Immediately after crawling the whole site there’s no cache ready. Only if I visit a page manually a cache is generated that’s valid even on other devices.

    In the log is no purge after the crawling documented now.
    Any idea what’s causing this and what else I could check?

    • This reply was modified 3 years, 2 months ago by hellogerowsky.
    Plugin Support qtwrk

    (@qtwrk)

    please create a ticket by mail to support at litespeedtech.com with reference link to this topic

    we will investigate further

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Cache miss despite every site crawled?’ is closed to new replies.