• Resolved codimex

    (@codimex)


    Hi, I’m facing an issue which might be somehow related to cache or CDN, exclusions… I’m not sure. I’m using qtranslate-xt to translate my site. When switching to another language, the displayed website shows the previous language you were in, and even with parts of the new language mixed. Things I’ve tried:

    -Disabling cache: no success.
    -Disabling CDN: no success.
    -Using the ?LSCWP_CTRL=before_optm parameter: no success (can’t understand why, since it’s supposed to be a safe error debugger).
    -Disabling the Litespeed cache plugin: success. Obviously, not a good solution. I need my site cached and CDN-served.
    -Setting a preset: even worse. I get weird behaviour with huge elements on screen.
    -Disabling/enabling combinations of JS, CSS, HTML minification, exclusions… No success.

    In case you’re not familiar with qtranslate-xt, the post id is the same for each language post.

    Also, I’m getting this error both logged in and logged out.

    Is there any way I can share privately with you my website, so that you can take a look at it? Thank you in advance!

    • This topic was modified 1 year, 11 months ago by codimex.
Viewing 9 replies - 16 through 24 (of 24 total)
  • How is that the .htaccess settings have no impact on quic.cloud, and the other way around?

    It isn’t supported yet by QC.

    Does it mean this website doomed?

    No, but there is not one solution for everything. Especially in combination with Quic.cloud. If you can do without QC, the solution is quite simple.

    Thread Starter codimex

    (@codimex)

    Mmmm… Quite a few interesting paths open now. First, I’m getting this warning in the Cache Crawler Summary:

    The crawler feature is not enabled on the LiteSpeed server. Please consult your server admin or hosting provider.

    Should I ask for my webhost to perform any action?

    – Go to menu -> Cache -> Excludes tab and enter “age_gate” without quotation marks in textfield “Do Not Cache Query Strings”

    – Do a cache purge all

    – Give Feedback if done

    Ok, kept the Crawler simulation settings, disabled the Object cache, did the above thing. Languages are shown correctly, page loads twice before fully loaded. Not perfect, but acceptable.

    If you can do without QC, the solution is quite simple.

    Of course! I actually tried switching to Cloudflare free and keep QC for image optimization (webp), but my MX records stopped working (that’s another story) and reverted to QC. But my ideal scenario would be to switch to CF in combination of Litespeed Cache Plugin.

    Again, thanks for your willingness to help! Now I’m overwhelmed by your help!!!!

    Should I ask for my webhost to perform any action?

    Ask him, but assume that your hosting does not allow you to use the crawler. If so, find another hoster.

    page loads twice before fully loaded.

    This is because you have Guestmode enabled. If cache is warmed, then you hardly notice anything from the 2x loading, but if you want to have a fast loading time, leave the guest mode activated. You should know about the guest mode. https://blog.litespeedtech.com/2021/06/01/guest-mode-for-wordpress-in-lscwp-v4-0/

    Of course! I actually tried switching to Cloudflare free and keep QC for image optimization (webp), but my MX records stopped working (that’s another story) and reverted to QC. But my ideal scenario would be to switch to CF in combination of Litespeed Cache Plugin.

    A CDN other than quic.cloud does not solve the problem, because CF does not support cache plugin optimizations. On the contrary, it gets worse!

    Unfortunately, the age verification does not work either despite the exclude settings and for the same reason as with the languages. Why don’t you try to get by without Quic.cloud?

    I take everything back. The age verification works, sorry.

    Thread Starter codimex

    (@codimex)

    OK, after all this information, I have a bigger picture about the problem. I think it’s time to put this thread to an end. You’ve helped me faaaar beyond what I could expect, and I think my work now is trying to optimize the code as much as I can. The GTmetrix score is still poor, but I guess we’ve got the best we can from the LS cache plugin side (unless you come up with any other ideas).

    Thank you so much for your dedication. I’ll check with my webhost (you already know which one it is) about the crawler thing. I’ve deleted the Crawler settings, since the only setting which seems to somehow solve the issue is disabling object caching. Delaying JS scripts also works, but my maps don’t show up if I delay JS, so I prefer leaving it off. :”(

    Feel free to mark this as resolved if you have nothing to add from your side. Big thanks again!!!

    A few notes:

    The GTmetrix score is still poor

    • If you test your site with GTmetrix or any other site, turn off guest mode first. The well-known test pages don’t get along with the guest mode.
    • If you are testing your site with GTmetrix or any other site, then keep the cache warmed anyway. This is the only way to get a correspondingly good result.

    I’ll check with my webhost (you already know which one it is) about the crawler thing.

    • A2 Hosting allows running the crawler. However, you have to apply for the crawler function for each individual domain from A2 Support. This takes about 1 day. Use this crawler. It’s best to use the Kitt Cache Crawler!

    Feel free to mark this as resolved if you have nothing to add from your side.

    YOU have to do that.

    Thread Starter codimex

    (@codimex)

    Thank you again!!! I take tons of ideas and ways to explore, given the limiting circumstances! Marking as resolved now. Have a nice week!

    You are welcome. ??

Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Displaying same language when switching to another language’ is closed to new replies.