How to use the Asset Manager


Overview

The Asset Manager is a powerful new feature in Super Page Cache that gives you surgical control over CSS and JavaScript loading on your WordPress site. You can selectively disable specific files only where they're not needed - improving performance while maintaining functionality.

Key Features

  • Complete Asset Visibility - See all CSS/JS files loading on any page, including hidden inline content
  • Context-Aware Rules - Disable assets on specific page types (categories, posts, archives, etc.)
  • User State Filtering - Apply different rules for logged-in vs. non-logged-in visitors
  • Real-time Interface - Visual modal shows exactly what's loading and where

How to Enable

  1. Go to Super Page Cache SettingsFiles tab
  2. Toggle "Enable Asset Manager" to Yes and update the settings.
  3. Click "Manage assets" button to launch the interface
Assets manager option in SPC settings

Accessing the Asset Manager

Method 1: Admin Bar (Recommended)

  • When logged in as admin, click "Asset Manager" in the WordPress admin bar

Method 2: URL Parameter

  • Add ?spc_assets=yes to any page URL to open the modal

Using the Asset Manager

1. Asset Detection

The modal automatically detects:

- External CSS/JS files (theme, plugins, WordPress core)

- Inline CSS/JS code (custom styles, scripts, localized data)

- Asset origins (which plugin/theme each file comes from)

- File sizes and dependencies

2. Search & Filter

  • Use the search bar to quickly find specific assets (e.g., "woocommerce", "contact-form")
  • Switch between CSS and JS tabs
  • Asset count shows total files vs. filtered results

3. Disable Rules

Location Rules

  • Entire Website - Disable everywhere (use carefully!)
  • This Category/Post/Page - Disable only on current page
  • All Categories/Posts/Pages - Disable on all pages of this type
  • Archive Pages - Disable on category, tag, author, or date archives

User State Filters

  • Non-Logged In Users - Apply rules only to visitors (not admins)
  • Combine with location rules for fine-grained control

4. Reset all

There is a Enable all button which you can use to enable all the disabled assets in bulk.


The Asset Manager gives you the precision tools professional developers use to optimize WordPress performance - now with a user-friendly interface that anyone can master.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us