內容簡介
總結:Better Website Performance 外掛提供進階功能,可改善網站效能,包括 HTML Head 優化、JavaScript 異步載入、CSS 合併、自訂 CSS,並提供資源提示等功能。若您遇到問題,可使用論壇或回報問題。此外外掛也支援社群貢獻和修正,您也可以協助翻譯、提交漏洞回報、或者 fork 下載修改等。
問題與答案:
1. Better Website Performance 外掛的主要功能有哪些?
- 包括 HTML Head 優化、JavaScript 異步載入、CSS 合併、自訂 CSS,以及資源提示等功能。
2. 可以從哪些渠道獲得支援?
- 可以使用論壇或回報問題。
3. 外掛支持哪些貢獻方式?
- 版本更新、修復漏洞、翻譯、自訂語言包等皆可,更多細節請參閱 GitHub 相關資訊。
4. 如何參與貢獻修復漏洞或新增功能?
- 可以在 GitHub 上 fork 下載,並提交 Pull Request,或者提交漏洞報告。
5. 若有需要調整本外掛的程式碼,應該注意哪些事項?
- 請務必注意主分支幾乎是最新的開發狀態,如要提交 pull request,請提交到主分支,並在完成更改後使用 git commit 提交更改。
外掛標籤
開發者團隊
原文外掛簡介
The Better Website Performance plugin adds advanced features to improve website performance.
Main features include HTML Head optimization, javascript async, CSS concat and inline, resource hints, etc.
Descriptions of features
HTML Head optimization
Manage meta tags and rel=link output by WordPress
Emoji resource
Manage WordPress Emoji features and resources
image srcset
Manage image srcset (Responsive image)
JavaScript async
Asynchronous JavaScript managed by WordPress
jQuery
Manage jQuery loading
CSS concat and inline
Concating, inlining or minify stylesheets
Custom CSS
Place Custom CSS output by WordPress in the footer.
Resource Hints
Manage resource prefetching
Preload
Manage resource prefetching
Support
If you have any trouble, you can use the forums or report bugs.
Forum: https://wordpress.org/support/plugin/better-website-performance/
Issues: https://github.com/thingsym/better-website-performance/issues
Contribution
Small patches and bug reports can be submitted a issue tracker in Github. Forking on Github is another good way. You can send a pull request.
Translating a plugin takes a lot of time, effort, and patience. I really appreciate the hard work from these contributors.
If you have created or updated your own language pack, you can send gettext PO and MO files to author. I can bundle it into plugin.
VCS – GitHub
Homepage – WordPress Plugin
Translate Better Website Performance into your language.
You can also contribute by answering issues on the forums.
Forum: https://wordpress.org/support/plugin/better-website-performance/
Issues: https://github.com/thingsym/better-website-performance/issues
Patches and Bug Fixes
Forking on Github is another good way. You can send a pull request.
Fork Better Website Performance from GitHub repository
Create a feature branch: git checkout -b my-new-feature
Commit your changes: git commit -am ‘Add some feature’
Push to the branch: git push origin my-new-feature
Create new Pull Request
Contribute guidlines
If you would like to contribute, here are some notes and guidlines.
All development happens on the main branch, so it is always the most up-to-date
If you are going to be submitting a pull request, please submit your pull request to the main branch
See about forking and pull requests
Test Matrix
For operation compatibility between PHP version and WordPress version, see below Github Actions.
