• Resolved awaaxyb

    (@awaaxyb)


    Hello,

    We use Aelia currency switcher with Geolocation enabled.

    we add in .htaccess this “RewriteRule .* - [E=Cache-Vary:aelia_cs_selected_currency]

    now we can see cache is built for every currency and that’s good.

    Problem is that the cookie of aelia currency is still set to good the currency (the one the user select, or the one set by the geolocation (like USD, CHF, SEK, etc.. ) but when we go to others pages it finish by going with the default currency (EUR)

    • This topic was modified 1 year, 5 months ago by awaaxyb.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support qtwrk

    (@qtwrk)

    you mean like user choose USD, but in next page it goes to default currency EUR ?

    when that happens , if you bypass the cache , by add any query string, like ?new , what’s currency it shows ? and what is the cookie browser has ?

    Thread Starter awaaxyb

    (@awaaxyb)

    Hello, 1 month after ur answer, we can see now this error is solved, we do nothing, so the error resolved by itself.

    Just to continue to understand, we have now 200 get with this :

    X-Dns-Prefetch-Control:
    
    on
    
    X-Litespeed-Cache:
    
    miss
    
    X-Litespeed-Cache-Control:
    
    public,max-age=604800
    
    X-Litespeed-Tag:
    
    114_HTTP.200,114_WC_T.60,114_WC_T.59,114_tax,114_URL.ccf8b1d3bf09998f9d360705b7ec9202,114_T.60,114_
    
    X-Powered-By:
    
    PHP/8.1.21
    
    X-Qc-Cache:
    
    hit
    
    X-Qc-Pop:
    
    EU-GB-LCY-109

    “X litespeed cache” miss

    and we have other page with 200 get request that have

    X-Dns-Prefetch-Control:
    
    on
    
    X-Litespeed-Cache:
    
    hit
    
    X-Litespeed-Cache-Control:
    
    public,max-age=604800
    
    X-Litespeed-Tag:
    
    114_HTTP.200,114_WC_T.61,114_WC_T.59,114_tax,114_URL.074e51feedafa2eb5d73cdc1c8bdfdca,114_T.61,114_
    
    X-Powered-By:
    
    PHP/8.1.21
    
    X-Qc-Cache:
    
    hit
    
    X-Qc-Pop:
    
    EU-GB-LCY-109

    “X litespeed cache” hit

    What is happening why, some page have cache hit and other page have cache miss after reloading many time ?
    We use Quic Cloud, and the pages status code for both cache hit or cache miss show “200 (from prefetch cache)”

    Thanks

    • This reply was modified 1 year, 4 months ago by awaaxyb.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Currency switcher’ is closed to new replies.