• Resolved hans410947

    (@hans410947)


    Hi,

    does LiteSpeed cache specific files for different countries?

    In my WooCommerce store I am using a plugin that sets the correct taxes depending on which country the visitor is from. But to make this plugin work with a caching plugin, the page cacheing plugin needs to be able to cache one copy of the websits′s content per country.

    So my question is if LiteSpeed can do this, and how to set it up?

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 16 replies (of 16 total)
  • Thread Starter hans410947

    (@hans410947)

    Hello again,

    if I am using the code below to create country specific cache:

    RewriteRule .* – [E=cache-vary:woocommerce_tax_country]

    Is this dependent on a cookie being set? If there is no cookie set for the choosen country, will this code then not work?

    I did put the code above in my .htaccess file, but when I am testing my site, I am always being pulled back to the default country, even though I choose a different country in my tax plugin.

    Thank you.

Viewing 16 replies (of 16 total)
  • The topic ‘Does LiteSpeed cache country specific files?’ is closed to new replies.