Critical CSS cron does not start
-
My critical CSS cron list keeps growing but is never run. While image optimization works OK and cron works there, critical CSS tasks accumulate but never run. They also do not show up on QUIC cloud task list.
My report code: WAXCKWIE
On a separate theme, I feel we are left a little neglected with the V4 announcements and delays, Github commits and releases completely unaligned with WordPress repository etc.
The page I need help with: [log in to see the link]
-
Hi,
1) Please try manually run the cron and see if the files are created. Go to the dashboard and click “force cron” under “Critical CSS”. If successful, then the problem is with the cron. Please install the “WP Control” plugin, if you haven’t already, to diagnose what’s wrong with the cron.
2) If “force cron” doesn’t work, either. Then, there must be something wrong in the process. In such case, please enable Debug Log and then click “force cron” to have the log generated. Study the log and you’ll find the error there.To enable debug log, go to LiteSpeed Cache Toolbox –> [6] Debug Settings, turn “Debug Log” on and set “Debug Level” to “Advanced”.
Please give a try and see if you can resolve this issue yourself.
Regards.
Hi @tenkstars
currently I got 14 css enqueued. Once I click “force cron” (God knows how many times I did it already) the LSCache Dashboard reloads (as expected) and 14 css qre still in queue. No trace of file creation in site files and no trace of activity in my quic.cloud dashboard as well (CSS Opt. 0%).
The cron itself works OK, as LSCache image optimization works perfectly (I got some 16k images optimized in May and currently my quic.cloud shows 20% image optimization usage.
I turned on the debug logging and while I am not sure I can read it, here’s what happens when I click “force cron”:
06/24/21 19:49:44.458 [77.255.137.217:51092 1 Pxo] ?? ------GET HTTP/1.1 (HTTPS) /wp-admin/admin.php 06/24/21 19:49:44.458 [77.255.137.217:51092 1 Pxo] Query String: page=litespeed-page_optm&LSCWP_CTRL=css&LSCWP_NONCE=5236cf9361&litespeed_type=generate_critical 06/24/21 19:49:44.459 [77.255.137.217:51092 1 Pxo] HTTP_REFERER: https://inisi.pl/wp-admin/admin.php?page=litespeed-page_optm 06/24/21 19:49:44.459 [77.255.137.217:51092 1 Pxo] Cookie _lscache_vary: admin_bar:1;logged-in:1;role:99 06/24/21 19:49:45.076 [77.255.137.217:51092 1 Pxo] [Router] LSCWP_CTRL: css 06/24/21 19:49:45.077 [77.255.137.217:51092 1 Pxo] [Router] LSCWP_CTRL verified: 'css' 06/24/21 19:49:45.077 [77.255.137.217:51092 1 Pxo] [Router] parsed type: generate_critical 06/24/21 19:49:45.077 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] front [url] https://inisi.pl [UA] Mozilla/5.0 (Macintosh; Intel Mac OS X 10_16) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1 Safari/605.1.15 06/24/21 19:49:45.086 [77.255.137.217:51092 1 Pxo] ?? Init 06/24/21 19:49:45.098 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] tax [url] https://inisi.pl/kategoria-produktu/obuwie/sandaly [UA] Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 06/24/21 19:49:45.108 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] 404 [url] https://inisi.pl/apple-touch-icon.png [UA] Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/601.2.4 (KHTML, like Gecko) Version/9.0.1 Safari/601.2.4 facebookexternalhit/1.1 Facebot Twitterbot/1.0 06/24/21 19:49:45.117 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] product [url] https://inisi.pl/produkt/santorini-flora-dress-2 [UA] Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36 Edg/91.0.864.54 06/24/21 19:49:45.125 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] archive [url] https://inisi.pl/sklep/page/5 [UA] Mozilla/5.0 (compatible; bingbot/2.0; +https://www.bing.com/bingbot.htm) 06/24/21 19:49:45.132 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] attachment [url] https://inisi.pl/inisi-artemis-fy [UA] Mozilla/5.0 (compatible; bingbot/2.0; +https://www.bing.com/bingbot.htm) 06/24/21 19:49:45.140 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] page [url] https://inisi.pl/kontakt [UA] Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Safari/605.1.15 06/24/21 19:49:45.148 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] front.mobile [url] https://inisi.pl ?? [UA] Mozilla/5.0 (iPhone; CPU iPhone OS 14_6 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/14.1.1 Mobile/15E148 Safari/604.1 06/24/21 19:49:45.157 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] 404.mobile [url] https://inisi.pl/produkt/chalki ?? [UA] Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.90 Mobile Safari/537.36 (compatible; Googlebot/2.1; +https://www.google.com/bot.html) 06/24/21 19:49:45.166 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] product.mobile [url] https://inisi.pl/produkt/kloto-haftowany-meander ?? [UA] Mozilla/5.0 (iPhone; CPU iPhone OS 14_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 193.0.0.29.121 (iPhone12,1; iOS 14_4_1; pl_PL; pl-PL; scale=2.00; 828x1792; 299401192) 06/24/21 19:49:45.175 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] archive.mobile [url] https://inisi.pl/sklep ?? [UA] Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.90 Mobile Safari/537.36 (compatible; Googlebot/2.1; +https://www.google.com/bot.html) 06/24/21 19:49:45.185 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] tax.mobile [url] https://inisi.pl/kategoria-produktu/odziez/sukienki/page/2 ?? [UA] Mozilla/5.0 (iPhone; CPU iPhone OS 14_4_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148 Instagram 193.0.0.29.121 (iPhone12,1; iOS 14_4_1; pl_PL; pl-PL; scale=2.00; 828x1792; 299401192) 06/24/21 19:49:45.193 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] attachment.mobile [url] https://inisi.pl/foreveryoung21_094 ?? [UA] Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.90 Mobile Safari/537.36 (compatible; Googlebot/2.1; +https://www.google.com/bot.html) 06/24/21 19:49:45.201 [77.255.137.217:51092 1 Pxo] [CSS] cron job [type] page.mobile [url] https://inisi.pl/kontakt ?? [UA] Mozilla/5.0 (Linux; Android 7.0;) AppleWebKit/537.36 (KHTML, like Gecko) Mobile Safari/537.36 (compatible; PetalBot;+https://webmaster.petalsearch.com/site/petalbot) 06/24/21 19:49:45.209 [77.255.137.217:51092 1 Pxo] [Ctrl] 301 from https://inisi.pl/wp-admin/admin.php 06/24/21 19:49:45.209 [77.255.137.217:51092 1 Pxo] [Ctrl] 301 to https://inisi.pl/wp-admin/admin.php?page=litespeed-page_optm 06/24/21 19:49:45.210 [77.255.137.217:51092 1 Pxo] [Ctrl] X Cache_control -> no Cache ( 301 to same url ) 06/24/21 19:49:45.210 [77.255.137.217:51092 1 Pxo] [Ctrl] not cacheable before ctrl finalize 06/24/21 19:49:45.210 [77.255.137.217:51092 1 Pxo] [Router] get_role: administrator 06/24/21 19:49:45.211 [77.255.137.217:51092 1 Pxo] ?? X-LiteSpeed-Cache-Control: no-cache 06/24/21 19:49:45.211 [77.255.137.217:51092 1 Pxo] [Optm] bypass: Not frontend HTML type 06/24/21 19:49:45.211 [77.255.137.217:51092 1 Pxo] End response --------------------------------------------------------------------------------
The above is with default loglevel, once I turn on “advanced” I can not find any mention of “litespeed_type=generate_critical” (which is, I assume, a sign of reaction to “force cron”) in the logs.
Only two things catch my attention in advanced logging mode:
06/24/21 20:00:25.624 [77.255.137.217:51693 1 Wl6] [Conf] Invalid option ID optm-ucss_whitelist 06/24/21 20:00:25.698 [77.255.137.217:51693 1 Wl6] [Core] CHK html bypass: miss footer const
I have honestly no idea how to proceed from there, though.
Hi,
In this case, please update the LSCache plugin to our latest version. The latest GitHub Dev Commit is V4.1-rc27. Official release of V4.1 is coming soon.
Regards.
OK, will try it once it goes official. Thank you!
- The topic ‘Critical CSS cron does not start’ is closed to new replies.