Translations Cache
WordPress mu-plugin to reduces file reads for translations by caching the first read via APCu.
by required · github.com/wearerequired/translations-cache · website
★ 6stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/wearerequired/translations-cache/archive/refs/heads/master.zipDeclares an update source (false), so updates arrive through the plugin's own updater.
From the readme
Translations Cache
Simple WordPress must-use plugin to reduce file reads for gettext (.mo) and JavaScript (.json) translations by caching the first read via APCu.
By default the cache TTL is set to six hours without any automated cache invalidation. You can set the TRANSLATIONSCACHEKEYSALT environment variable to change the key for the cache which will force the plugin to read from a fresh cache entry.
Installation
1. Define the dropin path for wordpress-muplugin
1. Install koodimonni/composer-dropin-installer and wearerequired/translations-cache
Example of a composer.json for a site:
Read the full README on GitHub →
Releases
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.