WordPress plugin intelligence profile

Cached l10n

Caches the global variable $l10n, which stores all translations for considerable speed improvement.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 3.5
Current version0.2.2
WordPress coverageTested up to WordPress 3.5
Minimum stackWP 3.0.1 · PHP —
Directory statusactive
Last directory update23 Apr 201313y ago
Active installations10Adoption metric — not a quality score
WordPress.org rating5.0 / 5 from 3 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Cached l10n version 0.2.2 as active, updated 13y ago and tested up to WordPress 3.5.

Overview

About this plugin

Upon inspection using xhProf, I realized that the PHP implementation loading the MO files is really slow.

From my tests, about 25% to 40% of the time WordPress spends rendering the page is actually spent locating, parsing and merging all the translation files.

This plugin works by caching the whole $l10n variable holding all the text domains and overridding the load_textdomain.

pson.

mo changes.

TODO

  • Provide a better UI page

Speed comparison

Comparing WordPress Gettext loading vs this plugin.

Using the average response time of:

siege -c 1 -r 100 -b http://localhost/

Vanilla: Fresh install of WordPress

Common: WPML, Types, Views, and Gravity Forms

Total Cache: Common + Total Cache (APC object/database cache, no page cache)

BuddyPress: BP-Registration-Options, BP Show Friends, BuddyPress, BuddyPress Activity Plus, Gravity Forms, Invite Anyone, U BuddyPress Forum Attachment, U BuddyPress Forum Editor, User Switching

Vanilla Common Total Cache BuddyPress Native 202 ms 565 ms 478 ms 567 ms Cached 193 ms (-5%) 322 ms (-43%) 333 ms (-30%) 431 ms (-24%)

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • performance l10n
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 3.5

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 3.5.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to3.5
Minimum requirementsWordPress 3.0.1 · PHP not listed
Update activity23 Apr 201313y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.