WP Manifestindependent plugin directory
manifest / performance / relay-wp-l10n

Relay Localizations archived

Use Relay to store WordPress translation in PHP runtime memory.

by CacheWerk · github.com/cachewerk/relay-wp-l10n · website

2stars
0forks

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/cachewerk/relay-wp-l10n/archive/refs/heads/main.zip

From the readme

WordPress Localization cache using Relay Use Relay to store WordPress translation in PHP runtime memory. Installation Install as plugin, or Must-Use plugin. Composer installation To install the plugin using Composer, add the repository to your composer.json: Then simply run: Caveats 1. If RELAYL10NCONFIG is not set, the plugin will do nothing 2. Translations are invalidated using FLUSHDB, be sure to set a dedicated database for translations so it won't flush the regular object cache as well 3. Relay's Table class currently caches data on a per-worker basis, so the cache needs to warm up for all workers in a FPM pool Configuration Add the RELAYL10NCONFIG constant to your wp-config.php. Default configuration | Option | Default | Description | | ---------------- | ----------- | ----------- | | scheme | tcp | | | host | 127.0.0.1 | | | port | 6379 | | | database | 0 | | | username | | | | password | | | | prefix | | | | timeout | 0.5 | | | readtimeout | 0.5 | | | backoff | smart | Supports: none, smart | | retries

Read the full README on GitHub →

Releases

TagPublished
v1.0.1 Dec 5, 2023
v1.0.0 Oct 3, 2023
v0.2.4 Sep 29, 2023
v0.2.3 Sep 26, 2023
v0.2.2 Sep 20, 2023
v0.2.1 Sep 15, 2023
v0.2.0 Sep 11, 2023
v0.1.0 Sep 5, 2023

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.