Wordpress LScache Plugin: wpml shipping cost being cached
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi support I have been running both litespeed cache and wpml for awhile without any problems. Recently I noticed the shipping cost under wpml currency are being cached by litespeed cache. I have several languages set up, each language would have its own default language. Each currency will have a different shipping cost depending on the conversion rate. The product prices have no problem with currency conversion, its just the shipping cost. For example: Shipping is USD 4.99 If I convert it to Australian dollars, shipping should become AUD 6.99 If I convert to British Pounds, shipping should become GPB 3.99 Lets say I am on my cart page showing the parent currency USD. I can easily switch the currency to Australian dollar and the shipping cost would show AUD 6.99. But when I switch it to GBP again, it will now show GBP 6.99. If I purge all cache and reload the cart page, it will now show GBP 3.99. If you now then switch to Australian dollar, it will show AUD 3.99. This is very odd. I deactivated litespeed cache and now everything works normally. Why is litespeed cache keeps caching the shipping cost even though I have set up currency formulas for each currency? I have been using both plugins together for many months now. Its not until today when I decide to change the currency rate, the shipping cost no longer convert and it just follows whatever value was used before a purge occurs regardless of which currency I choose. Hi, Please provide the report number , you can get it int toolbox -> report -> click send to LiteSpeed Best regards, report number: ZKHJIUPY Hi, could you please try turn off object cache , purge all and check how it goes ? Best regards, turning object cache worked. But I always had object cache on and it worked perfectly before. Is there any way to resolve this without turning it off? Seeing that product prices do not have any issues, I dont understand why only shipping price has problems. Hi, probably because the object group was cached it is possible to have it on , but could be troublesome to locate the object group to exclude it Best regards, I see a section under object cache: Global Groups & Do not cache groups What do I need to enter to exclude shipping price from being cached under object cache Hi, you need to looking into that plugins source code , looking for something like wp_cache_add( $xxx , $yyy , $zzz) or wp_cache_set( $xxx , $yyy , $zzz) where $zzz is the group name Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference