Support » Plugin: LiteSpeed Cache » Cloudflare and QUIC Incompatibility With Version 3.0

  • Resolved daljitpattarsingh

    (@daljitpattarsingh)


    Hi guys, I want to inform you that there is an issue with the plugin + Cloudflare. I mean, people who use Cloudflare + LSCache plugin face this issue a few times since the update 3.0.

    I was talking to Mark(Henna) from England and he asked me to create a ticket about it as I have shown him the issue and he said me to inform you guys on this support about the issue.

    The issue does not appear each and every time. But it appears a few times in a day. What is the issue?

    The issue is the LSCache plugin is not 100% compatible with the Cloudflare. I use Cloudflare for the CDN/Firewall/SSL and everything else from the QUIC.cloud

    And the issue is that if I use Cloudflare and LScache with QUIC. Then the page loose the CSS and only text starts to show on the website. Here are two screenshots for you.

    1. http://prnt.sc/sp3l40
    2. http://prnt.sc/sp3l5h

    I have also converted the database to the database this plugin recommended on 3 websites. I have been getting this issue since the update 3.0

    Here are a few websites where I have been facing the issues:

    1. https://booksilvertops.com.au/

    2. https://alkiaglobaltrade.co.uk/

    3. https://ezytilingservices.com.au/

    4. https://primeshinehcw.com.au/

    There are nearly 20+ websites where I have added the QUIC + Images optimization and the new database conversion. Since that time, the issue has been coming on all of those 20+ sites. All other sites which I have not configured that QUIC/required the QUIC dashboard. Those sites are working fine.

    I should be creating a detailed video about this issue in the future if no one else reports about this issue.

    I use Cloudflare and I can not stop using it. It gives me a lot of things which I need for my client’s sites.

    If someone else also facing the same issue, and if it is possible to write in this post, please mention your issue too.

    I do not know why this issue is coming. My mail is [Redacted] and if anyone from the LSCache team [SNIP]. LSCache team can reach me from their official domain mails.

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

    (@qtwrk)

    Hi,

    Could you please try :

    1. backup your current .htaccess

    2. empty .htaccess and make it only has LSCWP rules and WP default rules

    purge all , and see if that still happens.

    Best regards,

    Thread Starter daljitpattarsingh

    (@daljitpattarsingh)

    Thank you so much for the update.

    This issue comes 1-2 times if I keep updating/working on the websites. So, it is hard to say if I will get the issue or not I will need to keep working on the site and wait for the issue to come.

    Do you think that this issue can be related to this = http://prnt.sc/spsq6x
    and I found an issue in the crawler = http://prnt.sc/spspwq

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Even CCSS failed to generate, it will load page without it

    for crawler please open a separated topic.

    Best regards,

    Thread Starter daljitpattarsingh

    (@daljitpattarsingh)

    Thanks for the update brother.

    I have created a very short video for you to show you the issue. Here is that video for you = https://youtu.be/SizW322JjSA

    I can not create those errors from my end. That is why I could not show errors in the video. But below I can send you examples of issues have been facing on different sites these days.

    http://prnt.sc/sq81rx
    http://prnt.sc/sq81t6
    http://prnt.sc/sq81ut

    I even removed the Cloudflare CDN and SSL and added the DNS entry for the QUIC and once the DNS was updated. Then the QUIC was working as CDN and SSL. But still, the issue was there. On this website https://bestandcheapbondcleaning.com.au/ I have removed the Cloudflare and added QUIC. But still the same issue.

    I desperately need a solution to this issue. Please do not skip the video if you have not watched. This is my request. As I know this issue is not in my server and after the plugin updated to the latest version the issue is coming.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    May I know what is your webserver ?

    I assume it’s LSWS

    please try add

    AddType text/CSS .css 
    AddHandler text/css .css 

    in your .htaccess

    I only saw such problem once , that user has really messed up rewrite rule ,that’s why I asked in first reply to try a clean .htaccess rule.

    Best regards,

    Thread Starter daljitpattarsingh

    (@daljitpattarsingh)

    Hey brother, first of all, sorry that I did not update you about the .htaccess. Yes, this issue happens even on the new install. All I have to do is activate the LSCache plugin and it will start giving me that issues.

    Yes, bro, I use LSWS. That free one.

    Now, below. I will be showing you something which will help me to understand where exactly do I have to place the code you sent above.

    First of all please have a look at the screenshot of my .htaccess file here = http://prnt.sc/squf4m

    Please let me know if will I be adding the code here = http://prnt.sc/squf60

    or here = http://prnt.sc/squf7w

    Or do I have to turn the LSCache plugin ON and then add the code in the middle somewhere?

    Yes, even if the LSCache plugin is deactivated still we get the issue.

    Thread Starter daljitpattarsingh

    (@daljitpattarsingh)

    Hi there, today, I got this issue on a website where I just requested A Domain Key to connect for QUIC.cloud online services.

    I had been working on this website from the morning till afternoon, and I did not face the issue. When I requested the Domain key to connect with QUIC.cloud at the same time, I started getting this issue.

    What is the issue?
    Here are some detailed screenshots this time:
    1. http://prnt.sc/sriquu
    2. http://prnt.sc/srir3p
    3. http://prnt.sc/srir5u

    Looks like the issue is related to Litespeed and QUIC. There is nothing to do with the Cloudflare I guess. Why no one else reported this issue to you guys yet? Guys, I use Litespeed server, Cyberpanel and LSCache plugin with QUIC.cloud but do not use CDN from QUIC.cloud, I use CDN + SSL with Cloudflare.

    Guys, I know you are busy at other things but if possible, you can have access to any of my dashboard to find out the issue from your end too. A lot other people should also be getting this issue but maybe they are not that active on their websites like me. I work on websites with same configurations whole day.

    This issue does not stay there forever. It auto gets solves after a few mints and start showing again after some time.

    Thread Starter daljitpattarsingh

    (@daljitpattarsingh)

    Hi there, I should copy-paste the .htaccess code below. This is the code on all the sites:

    # BEGIN HTTPS Redirection Plugin
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteCond %{SERVER_PORT} !^443$
    RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
    </IfModule>
    # END HTTPS Redirection Plugin

    AddType text/CSS .css
    AddHandler text/css .css

    # 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]

    ### 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 LOGIN COOKIE start ###
    RewriteRule .? – [E=”Cache-Vary:wp-postpass_8cf24af03cddbd182cc00fb5c08881f4″]
    ### marker LOGIN COOKIE end ###

    ### marker FAVICON start ###
    RewriteRule favicon\.ico$ – [E=cache-control:max-age=86400]
    ### marker FAVICON end ###

    ### marker WEBP start ###
    RewriteCond %{HTTP_ACCEPT} “image/webp” [or]
    RewriteCond %{HTTP_USER_AGENT} “Page Speed”
    RewriteRule .* – [E=Cache-Control:vary=%{ENV:LSCACHE_VARY_VALUE}+webp]
    ### marker WEBP end ###

    ### marker DROPQS start ###
    CacheKeyModify -qs:fbclid
    CacheKeyModify -qs:gclid
    CacheKeyModify -qs:utm*
    CacheKeyModify -qs:_ga
    ### marker DROPQS 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 BROWSER CACHE start ###
    <IfModule mod_expires.c>
    ExpiresActive on
    ExpiresByType application/pdf A31557600
    ExpiresByType image/x-icon A31557600
    ExpiresByType image/vnd.microsoft.icon A31557600
    ExpiresByType image/svg+xml A31557600

    ExpiresByType image/jpg A31557600
    ExpiresByType image/jpeg A31557600
    ExpiresByType image/png A31557600
    ExpiresByType image/gif A31557600
    ExpiresByType image/webp A31557600

    ExpiresByType video/ogg A31557600
    ExpiresByType audio/ogg A31557600
    ExpiresByType video/mp4 A31557600
    ExpiresByType video/webm A31557600

    ExpiresByType text/css A31557600
    ExpiresByType text/javascript A31557600
    ExpiresByType application/javascript A31557600
    ExpiresByType application/x-javascript A31557600

    ExpiresByType application/x-font-ttf A31557600
    ExpiresByType application/x-font-woff A31557600
    ExpiresByType application/font-woff A31557600
    ExpiresByType application/font-woff2 A31557600
    ExpiresByType application/vnd.ms-fontobject A31557600
    ExpiresByType font/ttf A31557600
    ExpiresByType font/woff A31557600
    ExpiresByType font/woff2 A31557600

    </IfModule>
    ### marker BROWSER CACHE end ###

    ## LITESPEED WP CACHE PLUGIN – Do not edit the contents of this block! ##
    # END NON_LSCACHE

    # BEGIN WordPress
    # The directives (lines) between BEGIN WordPress and END WordPress are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <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

    Thread Starter daljitpattarsingh

    (@daljitpattarsingh)

    Today, when I turned my laptop on and visited the site https://australiabondcleaning.com.au/ I see the issue again. Here are the screenshots with better issue visibility:

    1. http://prnt.sc/ss2qrr
    2. http://prnt.sc/ss2qum

    This issue is on all the domains I have in a server. And all the domains have the updated version of LSCache. And I am more than 200+ times sure that this issue is related to LSCache plugin because with the version below 3.0 I never faced this issue. But after version 3.0 this issue is coming every day and wasting a lot of my time. Need help. Please reply.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    You have cloudflare cache on , please turn it off , if you have CF cache on , it will mess with LiteSpeed Cache.

    Best regards,

    Thread Starter daljitpattarsingh

    (@daljitpattarsingh)

    Hi there, It’s been nearly more than a year. I have been using cache from Cloudflare without any issue at all. The issue i am talking about started showing up after the version 3.0 update.

    I found one more person reported the same issue here = https://www.litespeedtech.com/support/forum/threads/url-to-ls-cache-css-js-files-returning-a-404.18450/

    and one more here = https://wordpress.org/support/topic/files-litespeed-cssjs/

    Sir, i am getting that same issue these people are getting after the version 3.0 update. Please help us. As i said above a few times that if you need access to the server or anything to get this issue solved then please contact me from your official email id and let me know from which id you have contacted me on khalsawebsitedesigners @ gmail . com so that this issue can be solved as soon as possible. I am spending full day to get this issue solved. Tried many develoepers paid for their time, but no one have fixed the issue. This is very serious issue for my business. Please help.

    Thread Starter daljitpattarsingh

    (@daljitpattarsingh)

    Here you can see the issue is related to litespeed folder = https://prnt.sc/sshu2p

    The plugin is not finding the path and showing 404 error and that is why the website is not loading fine and this issue does not stay there for ever, It shows and goes away quicky but it shows again without i do anything and it goes away without i do anything.

    In other words, If the Ad is running on a website and people are visiting the site then a few of them will not see the website load property and a few will see the site loading properly.

    This is because everyone is visiting the site on different time. and some time the site is not loading property because of this issue i am facing on all the sites nealry 80+ sites. All having the same issue after the plugin updated to v3.0

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Please create a ticket here

    we will investigate it further.

    Best regards,

    Thread Starter daljitpattarsingh

    (@daljitpattarsingh)

    Thank you, the ticket has been created yesterday. thx

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Cloudflare and QUIC Incompatibility With Version 3.0’ is closed to new replies.