Title: Slow switching speed
Last modified: August 5, 2021

---

# Slow switching speed

 *  Resolved [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [5 years ago](https://wordpress.org/support/topic/slow-switching-speed/)
 * Hello,
 * Our implementation of WOOCs is very slow when switching between currencies.
 * Due to using W3total cache we’ve had to enable the caching option, php sessions
   and not GET requests to have the plugin work properly. However, the AJAX requests
   are slow to change the currencies on product pages.
 * Is there a way we can cache the converted currencies values (We only update these
   weekly) or speed up switching currencies ?
 * We’ve noticed also that if we enable the pre-loader icon, this causes the base
   currency to load and further increases the load time.
 * Many Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [5 years ago](https://wordpress.org/support/topic/slow-switching-speed/#post-14741498)
 * Hello
 * Ajax request does not affect page load speed. Ajax request does not affect page
   load speed
 * _Is there a way we can cache the converted currencies values_ – currency conversion
   is just a mathematical operation and it is super fast. Time transmits to request
   and response from your server
 * _We’ve noticed also that if we enable the pre-loader icon, this causes the base
   currency to load and further increases the load time. _ – This is not possible
   because it is just CSS.
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [5 years ago](https://wordpress.org/support/topic/slow-switching-speed/#post-14741773)
 * Hello,
 * The page load speed is not the issue, it is the time it takes to switch currencies
   after the page has loaded. This is very slow and takes several seconds to switch
   currencies.
 * In regards to our site, when the pre-loader is enabled it pre-loads the base 
   currency which is not needed.
 * Kind Regards
    -  This reply was modified 5 years ago by [dev](https://wordpress.org/support/users/devksec/).
 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [5 years ago](https://wordpress.org/support/topic/slow-switching-speed/#post-14748997)
 * Hello
 * Please drop me exact link to the issue
 * _In regards to our site, when the pre-loader is enabled it pre-loads the base
   currency which is not needed._ – This option is just CSS, it cannot load anything.
   That is, just an animation of the image
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [5 years ago](https://wordpress.org/support/topic/slow-switching-speed/#post-14749183)
 * Hello,
 * Do you have an email address I can send it to ?
 * Correct however it applies this to the base currency and this increases the time
   until the prices are displayed. It should only be used when switching currencies
   not on initial load.
 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [5 years ago](https://wordpress.org/support/topic/slow-switching-speed/#post-14756950)
 * Hello
 * _It should only be used when switching currencies not on initial load._ – No!
   This is the time while the plugin checks the current currency when the page is
   cached. If you don’t like it, just turn off this function, nothing will change
   for you.
 * You can write here – [https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/](https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [5 years ago](https://wordpress.org/support/topic/slow-switching-speed/#post-14757073)
 * It would be nice to have this feature however only when switching currencies 
   not on the initial load.
 * our prices are there already so there is no need to pre-load the base currency
   in. It would just help make the slow switching of currencies appear better.
 * We would rather not put our site URLS on a public forum. Is there a way to send
   these privately?
 *  Plugin Support [mediawebster](https://wordpress.org/support/users/mediawebster/)
 * (@mediawebster)
 * [5 years ago](https://wordpress.org/support/topic/slow-switching-speed/#post-14764544)
 * Hello
 * _It would be nice to have this feature however only when switching currencies
   not on the initial load._ – It doesn’t make sense. Whatever you do with the page,
   it can always be cached.
 * _our prices are there already so there is no need to pre-load the base currency
   in. It would just help make the slow switching of currencies appear better._ –
   the page can be saved in the cache with any currency. It doesn’t matter if it’s
   the base currency or not
 * You can write here – [https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/](https://pluginus.net/support/forum/woocs-woocommerce-currency-switcher-multi-currency-and-multi-pay-for-woocommerce/)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/slow-switching-speed/#post-14856504)
 * So this took a while to resolve however we managed to get it fixed with the following.
   Seems to be a caching/session issue.
 * Cloudflare
    1. Do not cache query strings
 * WOOCS
    1. Use PHP Sessions (Transient & memcache seem to change the currency 
   for everyone per visit) 2. Do not disallow the use of the query strings in the
   GET requests – E.G Ensure they are present in GET requests (This causes issues
   with W3Total cache as it excludes those queries by default)
 *  Thread Starter [dev](https://wordpress.org/support/users/devksec/)
 * (@devksec)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/slow-switching-speed/#post-14856747)
 * The issue now is that if anyone visits the page, before W3TC has cached it, it
   now caches it in the wrong currency.
 * Each visitor then gets the wrong currency loaded before the adjax kicks in and
   reverts back to the base currency.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Slow switching speed’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-currency-switcher/assets/icon-256x256.png?rev
   =2844633)
 * [FOX - Currency Switcher Professional for WooCommerce](https://wordpress.org/plugins/woocommerce-currency-switcher/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-currency-switcher/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-currency-switcher/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-currency-switcher/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-currency-switcher/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-currency-switcher/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [dev](https://wordpress.org/support/users/devksec/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/slow-switching-speed/#post-14856747)
 * Status: resolved