Performance Architecture

Engineered from the ground up so multilingual never means slow.

3-Layer Cache

In-memory, persistent (Redis/Memcached), and database caching layers. On a warm cache, translation lookups are served from memory without touching the database.

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, batched lookups, and layered caching keep PerfLocale’s own code to a small fraction of total page time — a few milliseconds per page. We publish the full numbers, the harness, and the cases where you need an object cache, so you can hold us to them — and verify on your own stack. 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 →