[wordpress插件] Cache Translation Object缓存转换对象

wordpress 插件 文章 2020-03-15 12:10 473 0 全屏看文

AI助手支持GPT4.0

评分
0
描述

On every pageload a localized WordPress site spends a huge amount of time setting up the translation (l10n) object.

在每个页面加载中,本地化的WordPress网站都会花费大量时间来设置翻译(l10n)对象。

Startup for a localized site can be almost four times slower than an untranslated one.

本地化站点的启动速度几乎比未翻译站点慢四倍。

This plugin stores the translation object between pageloads so it only has to be created once, resulting in significantly better performance (performance graph included with screenshot).

此插件在页面加载之间存储翻译对象,因此只需创建一次即可,从而显着提高性能(屏幕截图中包含性能图)。

Plugin supports caching multiple languages (if you use a multi-language plugin).

插件支持缓存多种语言(如果您使用多语言插件)。

Available storage: Plain file, APC (Alternative PHP Cache), or SHMOP (Shared Memory)

可用存储空间:纯文件,APC(备用PHP缓存)或SHMOP(共享内存)

安装步骤

    1. Download and extract plugin files to a folder in your wp-content/plugin directory.
    2. 将插件文件下载并解压缩到wp-content / plugin目录中的文件夹中。

    3. Activate the plugin through the WordPress admin interface.
    4. 通过WordPress管理界面激活插件。

    5. Select an available storage on options page (see FAQ for more details if necessary).
    6. 在选项页面上选择一个可用的存储(如有必要,请参阅FAQ以获得更多详细信息)。

    7. File storage needs write permissions (once) to wp-content after install to set up the directory used for storage (wp-content/cache/l10n-cache).

    8. 文件存储在安装后需要对wp-content写入权限(一次),以设置用于存储的目录( wp-content / cache / l10n-cache )。

      Once set up is finished wp-content should be kept write protected.

    9. 设置完成后,wp-content应该保持写保护。

    10. If you run multiple WordPress sites on the same host please consult the plugin homepage for more information.
    11. 如果您在同一主机上运行多个WordPress网站,请查阅插件主页以获取更多信息。

    If you have any questions or problems go to: http://devel.kostdoktorn.se/cache-translation-object

    如果您有任何疑问或问题,请访问:http://devel.kostdoktorn.se/cache-translation-object

下载地址
https://downloads.wordpress.org/plugin/cache-translation-object.1.2.zip
-EOF-

AI助手支持GPT4.0