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

Simple WebP

外掛說明

Every time you upload an image, Simple WebP generates a .webp version. It then alter the HTML to replace img tags with picture tags, which let the browser pick the best format.

WebP images are often smaller than original .jpeg or .png one, so can save bandwidth and load time. Most browsers support WebP nowadays. You can use Google Pagespeed tool to see the gain you would get from WebP.

You will get much faster load time, and better ranking in Google Search.

Simple WebP is very much inspired by the more complete (and complex to install) WebP Express plugin. It also use the same libraries :

常見問題集

Are there any settings ?

No, just activate the plugin and enjoy the effects. If you want more settings, use WebP Express.

What if the WebP version is actually bigger than the original ?

Yes, it happens. If after the conversion, the .webp version is bigger, it is immediately deleted so it will not be served.

Is it compatible with browser not compatible with picture tag ?

Yes, a polyfill is included.

Will it work for previously uploaded images ?

Simple WebP generates .webp version of images on upload. So your previously uploaded images will not be converted.

However, Simple WebP provide a WP-CLI command to bulk convert all your uploaded image on your server : wp-cli webp-simple-bulk-convert.

Does it work for theme images ?

No, it works only with uploaded images. Converting theme image requires to set up on demand converting, which is way more complex, and often needs to do manual configuration on the server. See WebP Express.

Does it work with Nginx ?

Yes, it works out of the box with Nginx as long as you serve directly static files.

Does it work on Windows servers ?

Maybe. Probably not.

Will it delete .webp images from my server if I delete the plugin ?

No. But they will not be served anymore.

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Simple WebP〉的開發相關工作。

參與者

將〈Simple WebP〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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