plugin-icon

Dynamic MO Loader

제작자: Generaxion·
Better text domain loading with object cache support
버전
1.4.1
활성화된 설치 항목
10
최근 업데이트일
Nov 21, 2019

Changing the WordPress site language to any other than English slows down page generation times. A lot. This is caused by the slow and inefficient way of text domain loading. This plugin, based on the excellent work by Björn Ahrens, aims to fix that by loading only the text domains that are used in a page and even more, by caching them. PO and MO files are designed to be used with PHP Gettext-extension. But since it\’s an extension, it\’s not installed by default on all hosting platforms. To overcome this barrier, WordPress has re-implemented the whole MO file parsing in PHP completely ignoring the possibility to use native gettext, if available. This WordPress\’ implementation is a bit slow. This plugin has another implementation of MO parsing, which is faster than the default one. The plugin also loads only the text domains that are required to generate the current page instead the default behavior of loading every available text domain. As front end pages usually only use strings from few text domains, this leads to a great performance boost in front end. To boost the performance even more, the plugin also caches the loaded text domains in to the object cache. For optimal performance you need a fast object cache backend like Redis, Memcached or APC(u).

Links

무료Business 요금제에서
설치하면 WordPress.com 서비스 약관서드파티 플러그인 약관에 동의하게 됩니다.
테스트된 버전
WordPress 5.2.23
이 플러그인은 다운로드할 수 있으며 에서 사용할 수 있습니다.