這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Speed Up – Translation Cache

描述

The translations reduces speed of WordPress.

For localized WordPress the loading time of translation files accounts for 30% of the entire processing time (less or more 40 milliseconds per page).

For each translation file, WordPress unpacks it and then everyone will be converted in an “Translation_Entry” object. This process, repeated at each page view, is a waste time and resource.

You can make this process 3 times faster by just installing this plugin. This plugin offers a caching solution using the WordPress standard cache mechanism that reduces this effects on performance.

Configurations are not required! You just have to install it and after the plugin does it all, none further action it’s required.

This plugin is very light: only 5 kB.

Features

  • No configuration
  • Supports multiple languages
  • Supports plugin’s translation files caching
  • Supports WordPress Network/Multisite installation
  • Cache automatically expire when translation file is updated

Recommended Installation

For better performance, verify that /wp-content/object-cache.php is installed (see https://codex.wordpress.org/Class_Reference/WP_Object_Cache#Persistent_Cache_Plugins).

安裝

  1. Upload the complete speed-up-translation folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

評價

2022年5月30日 1 reply
We run a heavy WooCommerce store. Through the Xdebug profiler I found out that loading the translation files takes up quite some time each request (we also use NGINX caching, but only when users aren't logged in and only for specific pages). This plugin is perfect! It's simple, open source, but definitely made it faster.
2020年6月23日 1 reply
I'm a developer working on some customizations for a customer, and my development environment is a vagrant virtual machine and php configured with xdebug to allow remote debugging. As other developers may know, remote debugging is a feature that slows down the php performance a lot, and a slow WordPress site, is 100 times slower. The thing was so bad that I spent some time profiling the execution of the WordPress site and saw that there was a good amount of time spent in functions called translations or in tasks related to translations. I installed this plugin (by the way, the only one that does this job), and performed some additional tests, and the performance of the site improved a lot. I don't know why this site in particular is spending so much time with translation-related functions (other sites that I have don't have this problem), but this plugin did a good job for me. Thanks
閱讀全部2個評價

貢獻者及開發者

“Speed Up – Translation Cache” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Speed Up – Translation Cache 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.19

  • Check if override

1.0.17

  • Tested up to WordPress 6.0

1.0.15

  • Tested up to WordPress 5.9

1.0.14

  • Tested up to WordPress 5.7

1.0.13

  • Tested up to WordPress 5.5

1.0.12

  • Tested up to WordPress 5.3

1.0.11

  • Just update the name of plugin from “Speed Up – Translation” to “Speed Up – Translation Cache”

1.0.10

  • Tested up to WordPress 5.2

1.0.9

  • Tested up to WordPress 4.9

1.0.8

  • Tested up to WordPress 4.7

1.0.7

  • Little fix

1.0.6

  • Fix readme.txt tag list

1.0.5

  • Added cache statistics in the bottom of page (with html comment)

1.0.4

  • Improve readme.txt

1.0.3

  • Improve readme.txt

1.0.2

  • Fix readme.txt

1.0.1

  • Improve readme.txt

1.0.0

  • Initial release.