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

Optimizer For Faster Websites

描述

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

螢幕截圖

  • '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.
  • Modification Form of Browser Caching.
  • 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.

安裝

  1. Upload the plugin directory ‘pso_pagespeed_optimize’ to the ‘/wp-content/plugins/’ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to ‘Tools’ in the Dashboard Sidebarand look for ‘PageSpeed Optimize’.

評價

There are no reviews for this plugin.

貢獻者及開發者

“Optimizer For Faster Websites” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Optimizer For Faster Websites 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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