Performance Architecture

Engineered from the ground up so multilingual never means slow.

3-Layer Cache

In-memory, persistent (Redis/Memcached), and database caching layers. Most page loads are served from the fastest layer with zero database queries.

Batch Preloading

When WordPress loads a list of posts, PerfLocale loads all translation data in a single efficient request instead of one query per post.

Smart Query Optimization

Language filtering is added directly into WordPress database queries, so one query does the work of many. No extra overhead for your visitors.

Low-Millisecond Plugin Code Time

On-demand loading, instant string lookup, and all optimizations combined keep PerfLocale’s PHP wall-clock to around 1 ms per request on a multilingual site, and the plugin stays low even under heavy load — measured across single-site and multisite, with and without persistent object cache. Real-world page speed depends mostly on your theme, hosting, and other plugins. See the measured numbers →

Background Processing

Long-running operations — XLIFF imports, WPML / Polylang / TranslatePress migrations, full-site string scans, multi-megabyte glossary CSVs — move off the request path automatically. Small operations still run inline so you see the result immediately; large ones queue and the admin redirects to a live PerfLocale → Jobs page with progress, cancel, retry, and per-job error visibility.

The system picks Action Scheduler when WooCommerce or the standalone AS plugin is loaded (battle-tested, persistent, has its own admin UI), and falls back to WP-Cron otherwise. Either way, the dispatch decision, retry-with-backoff, per-type concurrency cap, and pause-queue toggle behave identically. State lives in a dedicated perflocale_jobs table with typed columns and indexed status / type / owner lookups — no public pageview ever queries it, so frontend visitors pay zero cost for an active queue. Stuck-job sweep + reactivation resume + stale-lock GC run on a daily cron so the system stays healthy without operator attention. Full wp perflocale jobs CLI surface for headless / CI workflows. Read the full Background Jobs doc →