跳到内容

Optimizer For Faster Websites

v1.0

tobias_.MerZ · 2015年10月10日 上架

Optimizer For Faster Websites will make your Website faster by caching and compressing files.

正在使用
40+
评分
暂无
累计下载
4,995
最近更新
2015年11月20日
需要 WordPress 3.0.1+已测试到 4.4.34

贡献者

截图

'General Tab' where you can activate Browser Caching and GZIP Compression with default settings.
'General Tab' where you can activate Browser Caching and GZIP Compression with default settings.
'Browser Caching Tab' where you can modify the expiration time and check the impact of your .htaccess file.
'Browser Caching Tab' where you can modify the expiration time and check the impact of your .htaccess file.
Modification Form of Browser Caching.
Modification Form of Browser Caching.
The impact of the .htaccess file after you activated Browser Caching and GZIP Compression.
The impact of the .htaccess file after you activated Browser Caching and GZIP Compression.
Error message if you are already using Browser Caching and try to activate it again.
Error message if you are already using Browser Caching and try to activate it again.

With this Plugin you can activate Browser Caching and GZIP Compression on your Apache Webserver.
With Browser Caching you can tell Browsers when your files usually change, e.g. every month, every week, etc. This will speed up your website because Browser will only make requests to your Server after the declared time. PageSpeed is a Google Ranking Factor so it is important to have a fast website.
There a several ways to enable Browser Caching. This Plugin uses Expires. The following code will be added to your .htaccess file:
ExpiresActive On

ExpiresByType text/css “access plus 1 month”

ExpiresByType text/javascript “access plus 1 month”

ExpiresByType text/html “access plus 1 month”

ExpiresByType application/javascript “access plus 1 month”

ExpiresByType application/x-javascript “access plus 1 month”

ExpiresByType application/xhtml-xml “access plus 1 month”

ExpiresByType image/gif “access plus 1 month”

ExpiresByType image/jpeg “access plus 1 month”

ExpiresByType image/png “access plus 1 month”

ExpiresByType image/x-icon “access plus 1 month”

With GZIP Compression your files will be compressed before they get sent to the client. This also makes your Website faster. The following code will be added to your .htaccess file:

Header append Vary User-Agent env=!dont-vary

AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json

DEFLATE by extension

AddOutputFilter DEFLATE js css htm html xml

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums