An Unload site-wide (everywhere) rule already removes the asset from every page. Use a load exception when the asset must remain available in a narrower context. When a stylesheet or JavaScript file is marked as Unload site-wide (everywhere), Asset CleanUp removes that asset throughout the website. Because the asset is already unloaded on every page, […]
All posts by gabe
Automatic Image Lazy Loading in WordPress (With Smart Exclusions for Critical Images)
This feature is available in the Pro version starting from v1.2.7.2 (released), and the Lite version starting from v1.4.0.5 (to be released). The Lazy Load tab within the “Resource Loading” area from the plugin’s settings, automatically adds loading=”lazy” to eligible <img> tags found in the final HTML output. This helps reduce the number of images […]
When to Use fetchpriority=”high” vs loading=”lazy” for Images
This article provides additional guidance on when to use the fetchpriority and loading image attributes. For a complete overview of the Resource Loading feature, including setup instructions and all available options, please see the main documentation article. Both attributes influence how the browser loads images, but they serve very different purposes. Understanding the difference will […]
Optimize Image Loading in WordPress (fetchpriority, lazy load, decoding)
This feature is available in the Pro version starting from v1.2.7.1, and the Lite version starting from v1.4.0.4. If you are using v1.2.7.1 (Pro), or v1.4.0.4 (Lite), you will notice just 3 fields: Source (Image URI or RegEx), Attribute and Value. You can upgrade to the latest version OR use the existing format, and whenever […]
WordPress Asset Loading: Minified vs. Unminified Files and How Asset CleanUp Handles Them
WordPress follows a structured approach when loading JavaScript and CSS files. By default, it loads minified versions (.min.js or .min.css) to optimize performance and reduce file sizes. This is a standard for WordPress core files (e.g. the jQuery library), and a practice that is used by WordPress developers. Some plugins have CSS/JS files that have […]
A Guide to Plugin Announcements: Stay Updated and In Control
This feature is available in the Pro version starting from v1.2.6.4, and the Lite version starting from v1.4.0.3. Overview The Announcements feature in Asset CleanUp is designed to keep you informed about important updates, new features, tips, and exclusive offers that enhance your experience and ensure the smooth operation of the plugin. This feature empowers […]
Early Homepage Detection: Optimization and Best Practices
This feature is available in the Pro version starting from v1.2.6.4. Overview Asset CleanUp Pro includes a feature called “Unload on the Homepage” when unloading plugins in the front-end view, as well as load a plugin on the homepage as an exception (from an already set unload rule), which allows you to prevent specific plugins […]
Why the type Attribute Is Added to <style> and <script> Tags
This feature is available in the Pro version starting from v1.2.6.4, and the Lite version starting from v1.4.0.1. Overview Whenever you use a feature and Asset CleanUp needs to generate STYLE/SCRIPT tag (e.g. inlined CSS/JS, combined CSS/JS, etc.), Asset CleanUp includes the type attribute in <style> and <script> tags if your WordPress theme does not […]
Why It Is Recommended to Keep jQuery Loaded in WordPress Pages
jQuery is a widely used JavaScript library that many WordPress themes and plugins rely on for functionality. While some users may want to unload jQuery or defer its loading for performance optimization, doing so can lead to issues on a WordPress site. Below, we explore why keeping jQuery loaded is a small but important compromise, […]
Optimizing CSS and JS: To Combine or Not to Combine?
Overview Combining CSS and JavaScript files is a popular optimization technique used to reduce the number of HTTP requests made by browsers, potentially improving webpage loading speed. This feature is available in Asset CleanUp under: Settings → Optimize JavaScript → “Combine loaded JS (JavaScript) into fewer files.” For CSS combination, similar options are available under […]