• Resolved nikketrikke

    (@nikketrikke)


    hello i have this setup

    quic+litespeed+woocommerce geolocate

    i settled the litespeed web admin with databse references mmdb path and name COUNTRY_DB following instructions..

    then i use this code on htaccess

    GeoIPEnable On RewriteEngine on RewriteRule .* – [E=Cache-Control:vary=%{ENV:GEOIP_COUNTRY_CODE}]

    and also settled woocommerce as geolocate

    but cache not vary for different countries what’s the error? thanks

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

    (@qtwrk)

    RewriteRule .* - [E=Cache-Control:vary=%{HTTP:x-qc-country}]

    please try this , add to top of your .htaccess and purge all

    Thread Starter nikketrikke

    (@nikketrikke)

    yes seems work fine… thanks

    for your experience from each country litespeed must write a different cache i supposed… could not be crawled..

    is there a way (as a plugin does a very old plugin also discontinued) to have for example all european countries with only one cache for exampe ?

    gret britain another cache and rest of the world another one?

    so 3 different cache with gouped countries and not one for each country code?

    Thread Starter nikketrikke

    (@nikketrikke)

    perhaps speak too fast!!!!!

    with QUIC CDN seems not work.. does QUIC manage cache vary?

    i know not but a developer of QUIC said me yes

    so frankly i not know what the reality…

    deactivating QUIC seems work the geolocalization

    while activating seems not work

    Plugin Support qtwrk

    (@qtwrk)

    QC doesn’t manage vary by rewrite rule , only the header vary way will work , but it is not supported by plugin at this moment

    ideally , when US visitor -> US node -> your origin , in this case, the origin server will see the visitor as US and vary it as US and the US node will save the US-vary-cache

    and then , when a ES visitor -> ES node -> your origin , in this case , it will tagged as ES vary ,with ES-vary-cache

    and so on , so on , like DE visitor to DE node with DE vary

    but the tricky thing here, I’d imagine , sometimes when , for example a close country , a FR visitor from DE boarder , might resolved to a DE node , then this DE node might just saved a FR-vary and things start to goes haywire

    Thread Starter nikketrikke

    (@nikketrikke)

    ok but is it automatic that the node in quic save the vary cache i not understand…

    then there is a way to group countries i supposed not as your answer? right

    Plugin Support qtwrk

    (@qtwrk)

    in next version of plugin , it will be a filter to manage vary , maybe that will fix your issue.

    Thread Starter nikketrikke

    (@nikketrikke)

    ok perfect i’m waiting

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘quic+litespeed+woocommerce geolocate setup? help’ is closed to new replies.