[wordpress插件] Add Expires Headers添加过期标题

wordpress 插件 文章 2020-01-30 00:20 1370 0 全屏看文

AI助手支持GPT4.0

评分

100

100

描述

Plugin will improve your website loading speed by caching various types of static files in browser of User.

Plugin将通过在User浏览器中缓存各种类型的静态文件来提高您的网站加载速度。

It is light weight plugin but its impact on page loading speed in very crucial and easy noticeable.

它是一个轻量级的插件,但是它对页面加载速度的影响非常关键,而且很容易察觉。

Advantages

优势

1) Reduce page loading time of website.

1)减少网站的页面加载时间。

2) Improve user experience as page loads very quickly then before.

2)与以前相比,页面加载非常快,从而改善了用户体验。

3) Decrease total data-size of page.

3)减少页面的总数据大小。

4) Have functionality to disable Etags which can have negative impacts on performance.

4)具有禁用Etag的功能,这可能会对性能产生负面影响。

5) Along with expires headers plugin provide gzip compression which will help to speed-up your website by compressing the page output.

5)带有到期标题的插件提供gzip压缩,它将通过压缩页面输出来帮助加快网站访问速度。

6) Larger band of predefined file types are covered so it will increase bandwidth of files which can have expiry headers.

6)覆盖了较大范围的预定义文件类型,因此将增加具有到期标头的文件的带宽。

Documentation

文档

For Plugin documentation, please refer our plugin website.

有关插件文档,请访问我们的插件网站

Requirements

要求

1) Make sure that the “mod_expires” module is enabled on your website hosting server.

1)确保在您的网站托管服务器上启用了“ mod_expires”模块。

2) It is necessary to have read/write permission of .htaccess file to plugin.

2)必须对插件具有.htaccess文件的读/写权限。

If not then update file permissions accordingly.

如果没有,则相应地更新文件权限。

Usage

用法

To use this plugin do the following:

要使用此插件,请执行以下操作:

1) Firstly activate Plugin.

1)首先激活插件。

2) Check “Enable Expires Headers” checkbox to enable plugin working.

2)选中“启用过期标头”复选框以启用插件。

3) Check Files type you want to have expires headers and also add respective expires days for type using input box.

3)选中要具有过期标题的文件类型,并使用输入框添加相应的过期天数。

4) Once you hit “save” button all options you selected in database of website and accordingly .htaccess file will updated and add expires headers for respective selected files.

4)一旦点击“保存”按钮,您在网站数据库中选择的所有选项就会相应地更新.htaccess文件,并为各个所选文件添加过期标题。

安装步骤

1) Deactivate and uninstall any other expires headers plugin you may be using.

1)停用并卸载您可能正在使用的其他任何过期标题插件。

2) Login as an administrator to your WordPress Admin account.

2)以管理员身份登录到您的WordPress Admin帐户。

Using the “Add New” menu option under the “Plugins” section of the navigation, you can either search for: “add expires headers” or if you've downloaded the plugin already, click the “Upload” link, find the .zip

使用导航“插件”部分下的“添加新”菜单选项,您可以搜索:“添加过期标题”,或者,如果您已经下载了插件,请单击“上传”链接,找到.zip

file you download and then click “Install Now”.

下载的文件,然后单击“立即安装”。

Or you can unzip and FTP upload the plugin to your plugins directory (wp-content/plugins/).

或者,您可以将插件解压缩并通过FTP上传到您的插件目录(wp-content / plugins/)。

3) Activate the plugin through the “Plugins” menu in the WordPress administration panel.

3)通过WordPress管理面板中的“插件”菜单激活插件。

下载地址

https://downloads.wordpress.org/plugin/add-expires-headers.1.2.zip

https://downloads.wordpress.org/plugin/add-expires-headers.1.2.zip

-EOF-

AI助手支持GPT4.0