Asset CleanUp Pro v1.2.4.9 - Performance WordPress Plugin - (Untouched)

virgilio183

Well-known member
Pro
Master
Diamond
Elite
Joined
May 16, 2021
Messages
25,509
Reaction score
29,677
Points
113
NullCash
578,288
Screenshot 2024-02-27 at 18-14-01 Asset CleanUp Pro Performance WordPress Plugin - Gabe Livan.png

Upgrading to the premium plugin allows you to unload unused styles & scripts on extra pages such as:
  • Taxonomy pages such as default WordPress categories, tags, and custom created ones such as products’ categories from WooCommerce.
  • Author pages (e.g. the page showing all posts published by a specific author, detected via is_author() function)
  • Default WordPress Search Page
  • WooCommmerce Search Page (which has the same settings as the actual shop page detected via is_shop() function)
  • 404 Page (Not Found): this one has be as light as possible and it’s less likely that many of the CSS and JavaScript files that are needed here (detected via is_404() function)
  • Date Archive Page: this is any page that retrieves articles filtered by the date, detected via is_date() function
As for the loaded JavaScript files, attributes such as defer and async can be applied
There are a plethora of techniques that are often used to defer parsing; however, the simple and preferred technique is to simply Defer loading of JavaScript until it is needed. If this technique isn’t appropriate to use on your page, it is next suggested that you use the <script async> attribute where appropriate, which prevents parsing from blocking the initial page load by deferring it until the browser’s UI thread is not busy doing something else. All these settings can be applied with Asset CleanUp Pro without writing any code.

Change the location of the CSS/JS files (could be moved from HEAD to BODY to prevent render-blocking or vice-versa if you need early triggering of specific files)

Unload CSS/JS that is hardcoded (not loaded via the standard WordPress functions such as wp_enqueue_scripts()). The LINK/STYLE/SCRIPT tags could have been added via editing the PHP code (not using the right WordPress action hooks), directly inside posts content, widgets, or via plugins such as “Insert Headers and Footers”, “Head, Footer and Post Injections”, etc.
“Test Mode” Functionality → Worried about making optimization mistakes? Don’t be anymore!
This allows you to optimize the website (unload useless files, set async, defer to loaded JavaScript files, clean up HTML code) without applying the changes “live” (to the regular visitor) in case you ever have any doubts that a change could break the functionality of the page/website. Any changes you’ve done will only be applied to you (the logged-in administrator). Once you’re happy with how the page looks and works, you can disable “Test Mode” to push the changes live so everyone else can enjoy the faster page loads

Requires at least: 4.6
Tested up to: 6.4.3
Stable tag: 1.2.4.9

== Changelog ==
= v1.2.4.9 - 26 February 2024

* "Plugins Manager": Allow the option to unload a plugin depending on the logged-in user role (e.g. for a "subscriber" that has access to the Dashboard, specific plugins that you know are useless for this type of user, could be unloaded to make the Dashboard load faster)
* CSS/JS manager: When the "src" of a SCRIPT tag or "href" of a LINK tag starts with "data:text/javascript;base64," and "data:text/css;base64," respectively, a note will be shown with the option to view the decoded CSS/JS code
* Fix: In some environments, the tags with "as" attribute were not properly detected (e.g. when "DOMDocument" is not enabled by default in the PHP configuration)

info: https://gabelivan.com/items/wp-asset-cleanup-pro/
 

Attachments

  • wp-asset-clean-up-pro-v1.2.4.9.zip
    2.4 MB · Views: 1
Top