1. Home
  2. Blog
  3. Performance

Cache a Multilingual, Multi-Currency WordPress Site Without Serving the Wrong Version

Performance

October 10, 2026

Page caching is the largest single speed improvement most WordPress sites can make. It is also the feature most likely to embarrass an international store. A visitor in Berlin lands on a product page and sees prices in dollars. A French reader gets yesterday’s French copy after you fixed a typo in English. A support ticket arrives saying “your site keeps switching my currency”.

None of that is a reason to switch caching off. It is a reason to understand how a page cache decides which copy to serve, and what has to happen when content changes. This guide explains how Lightify, the DaftPlug performance plugin, keeps a multi-currency WordPress page cache and a multilingual one correct, which plugins it detects, and the few things you still need to check yourself.

What goes wrong when you cache an international site?

A page cache writes the finished HTML of a page to disk, so the next visitor gets a file instead of a database query and a PHP render. The Lightify docs describe it as needing no configuration to work.

The catch is the word “next”. A page cache stores one copy per cache key and hands that copy to whoever asks for the same key. On a single-language, single-currency site, that is exactly right. On an international site, two kinds of variation can break it:

VariationTypical causeWhat goes wrong without handling
CurrencyA currency switcher stores the visitor’s choiceEveryone gets whichever currency the page was first cached in
LanguageA translation plugin serves several versions of each postEditing one language leaves the others stale

These are different problems. Currency is about serving the right copy. Language is mostly about purging the right copies. Lightify handles each one differently, and it does it through integrations that have no settings.

How does Lightify serve the right currency from cache?

Multi-currency plugins remember a visitor’s chosen currency in one of two places: a cookie, or the session. Which one your plugin uses decides what the cache has to do.

Currency plugins that set a cookie

The Lightify integrations guide lists Aelia, YITH, and Curcy as plugins that set a currency cookie. That cookie is already part of Lightify’s cache key, so the correct variant is served without help.

In practice, a page visited by someone with the EUR cookie and the same page visited by someone with the GBP cookie are two separate cache entries. Each visitor gets the copy that matches their cookie. There is nothing to enable.

WCML, which keeps currency in the session

WCML (WooCommerce Multilingual) keeps the currency in the session rather than a cookie. A page cache that only looks at the request cannot see a session value, so on its own it would treat every visitor the same.

Lightify’s answer is to set a cookie for it. The docs are explicit about why: without that, everyone would be served whichever currency the page was first cached in. With it, WCML behaves like the cookie-based plugins and each currency gets its own cached copy.

What this means for your cache size

Every currency you offer multiplies the number of cached copies of each page that a currency-aware visitor reaches. Three currencies means up to three copies of each product page. That is the correct trade, because the alternative is wrong prices, but it is worth knowing when you look at disk usage or think about preloading.

How does Lightify keep every translation fresh?

Translation plugins usually give each language its own address, for example a language folder or a subdomain. Different addresses are already different pages to a cache, so serving the right language is rarely the problem. The problem is what happens when you edit.

The integrations guide lists WPML, Polylang, TranslatePress, and Weglot as detected, and says that purging a post purges every translation of it. Editing the English version clears the French copy at the same time.

That matters more than it sounds. On a site with five languages, an edit that only purged the language you were looking at would leave four stale copies serving old content. Visitors in those languages would see the old price, the old dates, or the old typo until the cache expired or someone purged everything.

Lightify’s FAQ repeats this from the other side. Asked whether you need to purge after publishing a post, the answer is no: Lightify purges automatically when content changes, including the pages that list the post, translations of it, and any page builder templates involved.

Do you need to configure any of this?

No. The Lightify docs say the integrations have no settings. Each one checks whether the thing it integrates with is present, and hooks in if it is. Nothing to enable, nothing to configure, and every one of them is free.

So the multilingual and multi-currency handling works on a free install. The WordPress.org listing for Lightify also names WPML, Polylang, TranslatePress, and Weglot among its compatible plugins.

Which WooCommerce pages stay out of the cache?

International stores still have the usual WooCommerce problem: the pages that are different for every single visitor. The Lightify WooCommerce integration does two jobs.

  • Exclusions. Cart, checkout, and account pages are excluded from caching automatically. You do not need to add them to your page exclusions.
  • Stock purges. When a product’s stock changes, the pages showing that product are purged, so a sold-out item does not keep showing as available from a cached page.

The stock purge is especially relevant for multi-currency stores. A single stock change affects every currency variant of that product page, and you want all of them to reflect it.

If you have your own dynamic pages, such as a custom quote page or a region selector, add them under Lightify > Settings > Cache > Page Exclusions, one URL or pattern per line. A pattern can match any part of the URL.

How do the other cache settings interact with this?

Three cache settings change how many copies exist per page. On an international site, each one multiplies with your currencies.

SettingDefaultEffect on an international site
Separate Mobile CacheOffAdds a mobile copy per variant. Only needed if your site serves different HTML to phones
Cache Logged In UsersOffAdds one copy per WordPress role. Only safe if pages are identical for everyone in a role
Page ExclusionsEmptyRemoves pages from the cache entirely

The docs are clear on Separate Mobile Cache: a responsive theme, where the same HTML is styled differently by CSS, does not need it, and enabling it doubles your cache for no benefit. On a store with three currencies, doubling for no benefit means six copies of every product page instead of three.

Cache Logged In Users needs the same care on a store. If your theme prints the customer’s name, loyalty points, or anything else per person, one customer’s page would be served to another. The docs say to exclude those pages or leave the setting off.

What about CDNs and host caches in front of Lightify?

A multilingual site is often behind a CDN or a managed host’s edge cache. If Lightify purges the French copy and the CDN keeps serving the old one, the purge looks like it did nothing.

Lightify’s integrations exist for exactly that. It purges Cloudflare through the official Cloudflare plugin, Varnish through PURGE requests, and the server caches of managed hosts including Kinsta, WP Engine, SiteGround, Cloudways with Breeze, RunCloud, SpinupWP, GridPane, Rocket.net, WordPress.com, and sites using Nginx Helper. Because a post purge also purges its translations, the same set of URLs is passed on.

We covered that layer in detail in keeping Cloudflare, Varnish, and host caches in sync. For an international site, the main point is that Cloudflare purging needs the official plugin. Without it, Lightify has no credentials to purge with, and you would purge Cloudflare manually after content changes.

When should you purge everything yourself?

Automatic purges cover content changes. They do not cover configuration changes. The Lightify docs say to use Purge everything and preload after any settings change, since existing cached pages were built under the old settings.

On an international site, add these moments to that list:

  • You add or remove a currency. Pages cached before the change were built for the old set of currencies.
  • You add a new language. Listing pages and menus that link to translations change everywhere.
  • You change exchange-rate rules or rounding. Any page showing a converted price was cached with the old rule.
  • You change a page builder template. Lightify already purges the whole page cache when a template is saved, for Elementor, Divi, Bricks, Oxygen, Beaver Builder, Breakdance, Brizy, and Gutenberg templates.

The admin bar on any page gives you four manual controls:

ControlEffect
Purge current pageRebuilds just the page you are viewing
Purge cache and preloadClears everything, then warms it again
Purge pages and preloadClears the page cache only
Purge everything and preloadClears all caches, including optimized assets

How does preloading work with many variants?

After a purge, preloading visits your pages in the background so the first real visitor gets a cached copy rather than paying to build it. The docs note it runs on a delay between requests so it does not overwhelm your server.

On a large international catalogue, the number of pages to warm is bigger than on a single-language site. The Lightify FAQ says to raise the preload delay if preloading strains the server, which is the right lever on shared hosting.

Developers can change what preloading visits with the lightify_preload_urls filter, for example to make sure your most important language versions are warmed first. The lightify_auto_purge_urls filter adds URLs to an automatic purge, which helps if a custom plugin renders a page that should be refreshed alongside a post.

How do you check that each visitor gets the right version?

Test the paths your customers take, not just the homepage.

  1. Open a product page in a private window and switch currency. Reload. The price should stay in the new currency.
  2. Open the same page in a second private window and pick a different currency. Each window should keep its own currency.
  3. Edit a post in your main language and save. Open its translation in a private window. The cached copy should be fresh.
  4. Change the stock of a product so it sells out. Open its page in each currency. All should show it as unavailable.
  5. Check that cart, checkout, and account pages are never served from cache.

The Lightify overview page shows the cache status, which should read active. If it does not, the FAQ points to two things to check on shared hosting: that wp-config.php is writable so WP_CACHE can be set, and that PHP execution limits are not too tight for preloading.

One rule from the FAQ that matters here: do not run a second caching plugin. Two plugins writing advanced-cache.php will fight, and which one serves a given request becomes unpredictable. That unpredictability looks exactly like a currency or language bug.

Common questions

My currency switcher is not in the list. What happens?

If it stores the choice in a cookie, the cookie decides whether the visitor gets a separate copy. If it stores it in the session, a page cache cannot see it. Test it with the steps above. If prices leak between visitors, add the affected pages to Page Exclusions until the switcher is handled.

Does this need Lightify Pro?

No. The integrations guide says every integration is free.

Will translated pages slow down purges?

A post purge covers its translations, so one edit purges more URLs on a five-language site than on a single-language one. That is the work that keeps the other four languages correct.

The short version

A multi-currency WordPress page cache works when the currency is part of the cache key and every translation is purged together. Lightify does both automatically: cookie-based currency plugins are served correctly as they are, WCML gets a cookie set for it, and WPML, Polylang, TranslatePress, and Weglot translations are purged with their source post. Keep Separate Mobile Cache off unless you serve different HTML to phones, purge everything after configuration changes, and test with private windows in more than one currency.

Lightify is part of the DaftPlug Pro membership, one license for every DaftPlug plugin. Compare plans on the pricing page.