WP Rocket Knowledge Base
  • Getting started
  • Features
  • RocketCDN
  • Tips & tutorials
  • Compatibility
  • Troubleshooting
  • License

File optimization

Optimize CSS and JavaScript

  • Troubleshoot Remove Unused CSS display issues
  • Fix large cache folder size caused by dynamic inline JavaScript
  • ?nowprocket=1 appears in the site’s analytics
  • Exclude scripts from Delay JavaScript Execution only at some URLs
  • Database size increases with Remove Unused CSS
  • Exclude uploaded Elementor CSS from Load CSS Asynchronously
  • Disable Remove Unused CSS for specific pages or posts
  • Minify CSS files
  • Exclude all CSS files in a folder / directory from Load CSS Asynchronously
  • Modify the CSS generated by Remove Unused CSS
  • Prevent static file creation for dynamic CSS/JavaScript
  • General dependencies exclusions for Delay JavaScript execution
  • Conditionally Disable Remove Unused CSS
  • Prevent Critical CSS generation for custom post types and taxonomies
  • Disable Remove Unused CSS or Load CSS Asynchronously on mobile
  • Save dynamic CSS/JavaScript as static files
  • Exclude scripts from Load JavaScript Deferred for all pages or specific URLs
  • Change Load CSS Asynchronously sample URLs
  • 1
  • 2

Categories

  • Caching
  • File optimization
  • Media
  • LazyLoad
  • Preload
  • Database
  • CDN
  • Heartbeat
  • Add-ons
  • Advanced rules
  • Tools
No results found

© WP Media 2025. Powered by Help Scout