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, […]
Category: Bulk Changes
A bulk change (“Bulk Changes” menu) is considered any unload rule or optimization (e.g. preload, moving position of a CSS/JS) that is applied once and it has an effect on multiple pages of the same kind or site-wide.
How to unload or only load CSS/JS assets on all pages that have certain taxonomies (category, tag, etc.) set?
This feature is available in the Pro version starting from v1.2.0.5. This option is useful if you want to unload CSS/JS on specific post pages of any kind including, but not limited to: posts (their default well-known taxonomies are “Categories” and “Tags”), pages, custom post types such as WooCommerce’s “product” (it has “Product categories” and […]
How can a CSS/JS file be unloaded on all pages belonging to a post type or vice-versa?
Many public pages in WordPress can be posts (e.g. the articles from the blog), pages (e.g. contact, about, terms), or custom post type pages such as the WooCommerce product pages which belong to the “product” post type. Let’s suppose you’re using WooCommerce and you know for sure that a plugin is loading CSS/JS files that […]
Preloading resources (CSS & JS)
Preload Type: Basic (CSS/JS) Preload Type: Async (CSS only) Is there a way of preloading JS files and load them in Asynchronous way? What about the CSS/JS files that aren’t enqueued? How can I preload them? <link rel=”preload”> instructs the browser to add the asset (CSS/JS) to the browser’s download queue as high priority. There […]
What are bulk unload rules?
A bulk unload (from “Bulk Changes” -> “Bulk Unloaded”) is considered any unload rule that is applied once and it has an effect on multiple pages of the same kind or site-wide. These include: Unload everywhere (site-wide unload of an asset) Unload on All Pages of [any post type here] post type (post, page, product, […]