• Resolved schimmilol

    (@schimmilol)


    Hey there,

    really love the Plugin. I just encountered a problem with WPML.

    My site runs over a german .de domain, but it is also hosted in chinese on a .com.cn domain. Now when I implemented LiteSpeed Cache all was well, until the chinese site loaded its assets not from the .com.cn domain but the german .de domain instead. This is a huge no-go for he chinese Domain and it results in my assets not being loaded.

    Is there a way to configure the Plugin in a way, that content from the .com.cn is loaded via the domain or that its not cached at all?

    Warm regards

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support litetim

    (@litetim)

    @schimmilol

    Thank you for writting us and let’s start debugging by sending a report to LSC and share the ID generated.
    This can be done from LSC => Toolbox => Report => click on “Send to Litespeed” and share the ID generated(8chars string).
    If you want to keep the domain private, please add the link( where I can test the issue) in report notes.

    Thread Starter schimmilol

    (@schimmilol)

    Hey there @litetim

    Thank you for your quick response.

    The ID is: GXIXGVZK

    Plugin Support qtwrk

    (@qtwrk)

    your site seems running on Apache , our plugin requires LiteSpeed webserver to cache properly

    Thread Starter schimmilol

    (@schimmilol)

    I still really like the performance of the plugin on my apache server, so is there a way to tell the plugin to not cache a certain language or domain?

    Thread Starter schimmilol

    (@schimmilol)

    Found a solution:
    If you run into a similar problem there is the constant “LSCACHE_NO_CACHE” you can define, that flags it to not cache a certain page.

    I put the code below in my wp-config and now my chinese pages are no longer cached.

    if ( $_SERVER['SERVER_NAME'] == 'www.YOUR_DOMAIN.com.cn' ) {
    define( 'LSCACHE_NO_CACHE', true );
    }
Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.