Šī spraudnis nav atjaunināts vairāk kā divus gadus. Varbūt, tas vairs netiek uzturēts, nesaņemt atbalstu un tam var būt saderības problēmas ar jaunākām WordPress versijām.

Easy Speed Optimizer

Apraksts

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!

Ekrānuzņēmumi

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

BUJ

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.

Atsauksmes

27 augusts, 2023
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.
Lasīt 1 atsauksmes

Autori un izstrādātāji

“Easy Speed Optimizer” ir atvērtā pirmkoda programmatūra. Šo spraudni ir veidojuši šādi cilvēki.

Līdzdalībnieki

Tulkot “Easy Speed Optimizer&#8221 savā valodā.

Vai jūs interesē attīstība?

Pārlūkojiet kodu, apmeklējiet SVN krātuvi vai abonējiet attīstības žurnālu, ko izveidojis RSS.

Izmaiņu žurnāls

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