Mô tả
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
Ảnh màn hình
Cài đặt
- Upload the plugin directory ‘pso_pagespeed_optimize’ to the ‘/wp-content/plugins/’ directory.
- Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to ‘Tools’ in the Dashboard Sidebarand look for ‘PageSpeed Optimize’.
Đánh giá
There are no reviews for this plugin.
Người đóng góp & Lập trình viên
“Optimizer For Faster Websites” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng gópDịch “Optimizer For Faster Websites” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.