Love the LiteSpeed Cache plugin, however, it’s conflicting with the Like button in my WordPress posts. Several followers advised they couldn’t like my post as it continually displays “Loading” and not the Like button. This started happening after installing LightSpeed. Is there any option that I should turn off in the settings to fix this issue?
Cheers
]]>I am having problem troubleshooting CSS Combine option. Tried to used: https://docs.litespeedtech.com/lscache/lscwp/ts-optimize/ procedure but can’t follow it for Mobile Device.
I know for sure is CSS Combine because on everything on same state just turning the CSS Combine Off the site works correctly on my Mobile device.
I went to the Desktop to the Google Developer Tools as on Mobile the Android Google does not have the tools, and listed all CSS files. (The problem does not show in the Desktop nor in Mobile preview). Copy all the files link to a notepad then copy all links to CSS Tuning as the procedure instructed. Clear all Cache left the CSS Combine On with all CSS links in the CSS Exclude box and save and clear cache. But the problem persist on the Mobile Device as if some CSS is missing on the CSS Exclude and causing the problem.
Something is generating a CSS on the real Mobile Device that is not generated in the emulated Mobile preview.
]]>On investigation, I see that the combined css file is very small and only contains a fraction of the content it should contain.
If I save the file and clear the cache out. I then get the site running again and if I compare the two combined files, the new one now contains all the css again.
I have noted that the broken combined file is always broken cleanly at the end/beginning of where the next file should be placed in the combined file.
What would cause this to happen and how can I prevent it/fix it?
I am now just turning off combine on all my sites. With HTTP2 it’s probably not of any benefit anyway, but a solution would still be ideal as this is just avoiding the issue not resolving it.
]]>
]]>To explain in detail: When you look at the view-source section of https://herseyburadahub.com, there are only 5 css files. However, when I look at the view source section of https://herseyburadahub.com/doviz-cevirici/, I see that there are 21 css files.
]]>The link to GTmetrix. Files are in “Avoid bad request” section:
https://gtmetrix.com/reports/slowit.pl/2J60z3Az
I tried to exclude my css/js theme files but it did not help.
wp-content/themes/cenote
My httaccess file:
# BEGIN LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
<IfModule LiteSpeed>
RewriteEngine on
CacheLookup on
RewriteRule .* - [E=Cache-Control:no-autoflush]
RewriteRule ^min/\w+\.(css|js) - [E=cache-control:no-vary]
### marker CACHE RESOURCE start ###
RewriteRule wp-content/.*/[^/]*(responsive|css|js|dynamic|loader|fonts)\.php - [E=cache-control:max-age=3600]
### marker CACHE RESOURCE end ###
### marker FAVICON start ###
RewriteRule favicon\.ico$ - [E=cache-control:max-age=86400]
### marker FAVICON end ###
</IfModule>
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END LSCACHE
# BEGIN NON_LSCACHE
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
### marker MINIFY start ###
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} ^(.*)/min/(\w+)\.(css|js)$
RewriteCond %1/wp-content/cache/$2/$1.$2 -f
RewriteRule min/(\w+)\.(css|js) wp-content/cache/$2/$1.$2 [L]
</IfModule>
### marker MINIFY end ###
## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
# END NON_LSCACHE
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
How can I fix this?
Thanks
Szymon
Congratulation for this great Plugin, I really love it! However, on one of my sites (https://fclandquart.ch/), I have layout issues with Firefox on Windows when I use the CSS optimization options (CSS Minify, CSS Combine, CSS HTTP/2 Push). These layout issues do not appear in other browser or on the Mac. As these optimizations are very important for page speed and ranking, I’d really appreciate if there was a fix for that!
Any suggestions?
Thanks!
]]>1) Database optimization (Transients, table optimization, etc.)
2) CSS Minify
3) CSS Combine
4) CSS HTTP/2 Push
5) JS Minify
6) JS Combine
7) JS HTTP/2 Push
8) HTML Minify
With this update I was able to get rid of 4 different plugins, and my sites are now SMOKIN like never before!!!
Thank you LiteSpeed!!!
]]>First I tested MNCombine on dev site and it worked well, then I installed in live site and it stopped working. The sites are not identical, but WP, X Theme, Super Cache and Autoptimizer are.
Specifically, if I select any CSS files to combine, then the page won’t load at all as a logged in user. It works perfect in all other browsers when not logged in. I get “ERR_EMPTY_RESPONSE”.
Unfortunately it’s not very popular to deactivate all plugins, revert to Twenty Sixteen etc on their live site.
Hints?
https://www.ads-software.com/plugins/mncombine/
]]>www.site.com/:6 GET https://www.site.com/wp-gdb-content/cache/minify/000000/52079/page.include.2d2e6a.css?bd7eb6
Surprisingly the site loads ok with no broken CSS but the 404 is something I’d like to avoid as it costs me 2-3s
The above css file does not exist in the server so the 404 makes sense. I’m trying to understand though how or where this GET with the particular file is created so I can take steps to correct it.
Also note that although debugging indicates that all 20+ CSS files were combined running the site through gtmetrix suggests I reduce the number of CSS files being accessed per load.
Obviously my priorities are to combine (minification is not that important) all CSS files and have a site with no 404s.
https://www.ads-software.com/plugins/w3-total-cache/
]]>