2015年12月25日 星期五

[cloudflare] Auto Minify and Polish eliminate space html 清除空白與壓縮


使用 cloudflare 當做 CDN 時,若是發現,有一些 html 空白消失了。你可能開啟了 Performance Auto Minify and Polish 的功能,可以到 speed 的地方(或是 rule page rule ) 去更改 Performance 的選項,選擇是否要使用 Auto Minify and Polish。


Polish

Improve image load time.
Polish automatically applies both “lossless” and “lossy” image optimization to remove unnecessary bytes from images. On average, image sizes are reduced by 35%.

Auto Minify

Reduce the file size of source code on your website.
Note: Purge cache to have your change take effect immediately.

ref:
An All New (and Improved) AutoMinify
https://blog.cloudflare.com/an-all-new-and-improved-autominify/

沒有留言:

張貼留言