Home Forums Plugins CURCY – WooCommerce Multi Currency Slow on first load (Cookies)

Slow on first load (Cookies)

  • Author
    Posts
  • #172540

    Void Digital
    Participant

    Hello,

    I am using the cookie option with JSON, initial page load on ANY page apart from ones that have any kind of prices on there are loading extremely fast.

    Say I go to the homepage (loads fast), then go to any category page (loads fast).

    However, for example, when someone visits the website for the first time from a category/product/any page that has pricing on it, the load takes 2-3 seconds (TTFB)

    My guess is that happens due to the cookies, since if I enable Session option with AJAX it loads fast, but then another problem appears – ajax call takes approximately 2 seconds to load, meaning for visitors from US, they will see 2 seconds of EUR price instead of USD. Not only that but the AJAX call is so slow that if you are on a product page with variables, by the time you interact with the variation option dropdown – the prices will be stuck to EUR and will not update.

    I am using Litespeed Cache, what can we do to fix this issue? I don’t mind using ajax but it’s extremely slow on ANY load, whereas cookie is only loading slow in the scenarios described above.

You must be logged in to see replies to this topic. Click here to login or register