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

Easy Speed Optimizer

外掛說明

If your WordPress site is overloaded with an excessive amount of styles and scripts,
and you’re aware that those elements are redundant, this plugin is for you.
Just decide which styles and scripts you want to remove, disable them in the plugin settings and enjoy!

Besides, after removing redundant styles and scripts, you can specify the critical CSS.
Easy Scripts Optimizer will automatically defer all the style elements, making your site loading really fast!

螢幕擷圖

  • Main Settings: enable the plugin and maybe disable redundant scripts.
  • Disable redundant styles.
  • Disable redundant scripts.

常見問題集

How can I find the script or style ID?

  1. Go to the home page.
  2. Right mouse click -> View page source.
  3. Find the CSS you want to remove.
  4. Get the value of the id and paste it into the plugin settings
    Example:

    In this case ID is “contact-form-7-css”.
    Side note: ‘-css’ is added by WordPress, so the real style ID (the ID that used for style enqueue) is ‘contact-form-7’.
    You can provide both short and long form.

Is it safe to remove style or script?

First of all, this plugin doesn’t physically remove any files. It just dynamically unregisters them from the WordPress queue.
So it’s safe to add/remove script IDs and experiment with them.
But please be careful – removing styles can break some visual parts of your site, and removing scripts can break some functionality.
The best approach is to try it first on development or staging site.

I saved settings but styles were not removed

Do you use any cache plugins? Please try to clear the cache.
If you use services like Cloudflare, it may take some time to see the changes to be showed.
Try to add some GET parameter to your page and check if you see changes after that.
Example:
Your site is https://mysite.com, – go to https://mysite.com/?v=2 and check the page source.

使用者評論

2023 年 8 月 27 日
Great plugin that does things other speed plugins can not do – it allows the complete deactivation of unnecessary CSS and JS scripts on the site. When combined with the “Critical CSS” approach, it significantly enhances loading speed.
閱讀全部 1 則使用者評論

參與者及開發者

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

參與者

將〈Easy Speed Optimizer〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.3.0

  • 2023-08-27
  • Settings refactoring: settings for registered style
  • Tabs: added CSS and JS tabs
  • Added option to enable/disable the plugin
  • Updated supported WordPress version

1.2.0

  • 2023-08-06
  • Possibility to remove emoji script and style from the page
  • Updated supported WordPress version

1.1.2

  • 2022-01-26
  • Conflict with Elementor preview fixed

1.1.1

  • 2022-01-12
  • Settings save process hotfix

1.1.0

  • 2022-01-12
  • Critical CSS settings

1.0.1

  • 2022-01-06
  • Escape echo variables

1.0.0

  • 2021-12-24
  • Plugin release, possibility to remove styles and scripts