I also see broken pages. Everything is fine when I delete all cache and let it rebuild, a week later the problem is back. It’s like building the original cache is fine, but rebuilding it when needed causes an issue. Could it be related to the cache TTL which is set to a week and serving stale cache?
Plugin Support
qtwrk
(@qtwrk)
Did you happen to see anything in PHP error log ?
@qtwrk as it always occurs in production sites, I do not have debugging enabled so no errors available.
I will attempt to produce the error manually in a dev environment by setting a very short ttl, however I am unsure of the exact conditions required to for the issue to present itself so this may not be achievable.
One observation I have made, which may simply be a coincidence and due to the nature of most css files, but the “break” that I have observed has been where comments are on the css file. But this may simply be that most css files begin with a comments block… and the break occurs on a new css file…
Plugin Support
qtwrk
(@qtwrk)
may I know if you are on v4.2 or v3.6.4 ? if on 4.2 , did you enable UCSS ?
3.6.4 at the moment on the site it just occurred most recently on. It actually occurred twice this week on two different sites.
What is UCSS?
I will point out that this has occurred many times over the years, it’s just that I only now investigated it deeply enough to determine that the combined file was not being built properly. And I will also point out that at has occurred when the plugin was up to date at the time it occurred.
I’m pointing this it in preparation for you telling me to update to the latest version and see if the issue persists….
If you are unfamiliar with the issue existing, there is no reason the latest release would fix it.. fixes don’t tend to be developed for bugs that are not known.
-
This reply was modified 4 years, 9 months ago by
miketemby.
I have the same problem with combined css files with the latest version 4.2 and i had to go back to 3.6.4 version.
Plugin Support
qtwrk
(@qtwrk)
Hi,
please:
download https://www.litespeedshare.net/2021/08/92db40-debug.zip
this package contains 3 modified files with more debug log enabled, for v4.3 version only
please replace them into /wp-content/plugins/litespeed-cache/src/ to override exsiting ones
now edit wp-config.php
find line
define('WP_DEBUG', false);
add ; in front it to comment it out , then add
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY',false);
after it
and then go to wp-admin -> LSCWP -> toolbox -> debug setting
set debug log to admin IP only and add your IP in below box
in “Debug URI Excludes” field ,add
admin
ajax
into it , save and purge all
and then wait for it happens again
once it happens , please send /wp-content/debug.log and PHP error log (typically located /public_html/error_log on cPanel) to support at litespeedtech.com with reference link to this topic
Best regards,
Plugin Support
qtwrk
(@qtwrk)
Hi,
there is a patch for combined files 404 error in v4.4-rc4 , please upgrade to it and see how it goes
you can get it in toolbox -> beta test -> click “dev” and upgrade
Best regards,