LC Scripts Optimizer


Speed up your wordpress website using only necessary scripts (CSS/JS) in targeted pages and combining them.
They literally slow down your website, increasing a lot page’s speed and wasting a lot of server resources.

Only one settings page to control everything. Basically with just one click you could increase your Google speed rank of 10 points!

But what’s the difference between this plugin and other ones? Is light. Extremely light and built to be compatible with any existing website and script.
You can choose which scripts to include in optimization and WHERE to use them: lightening pages and offering a better user experience.

Finally, features also an HTML minifier, to drastically reduce your pages weight!
Is also compatible with other WP optimizers (W3 total cache, WP-super-cache, etc). Offering a great combo to optimize wordpress all-around!

Features list:

  • lightweigt and super-simple setup
  • compatible with any theme and any script
  • scripts/styles combining
  • optimized files saved and served as static elements
  • filter by URL and/or regular expression
  • scripts/styles filter to set their usage across pages
  • option to exclude every script/style from optimization process
  • CSS @import code processing
  • CSS minification
  • HTML minification
  • fallback granted for restricted servers through dynamic PHP script
  • manual cache cleaner system
  • testing mode to tune the plugin without affecting visitors
  • compatible with other WP optimizers


  • faster pages
  • lower server impact
  • bandwidth saving
  • SEO score increasing


  • Scripts/styles must be properly enqueued through WP register functions
  • Static files creation requires writing permissions in wp-content folder
  • Your site pages must be accessible via wp_remote_get() to concatenate scripts
  • No support provided


  • Settings


  1. Upload lc-scripts-optimizer to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. A new submenu item will be visible under “tools”
  4. Check system status and eventually unlock writing permissions
  5. Click on “fetch again” button to store scripts
  6. Enable optimization and update settings
  7. Use “fetch again” button every time a new theme/plugin is activated to refresh the list. By default any enqueued script/style is managed


There are no reviews for this plugin.

Contributors & Developers

“LC Scripts Optimizer” is open source software. The following people have contributed to this plugin.


Translate “LC Scripts Optimizer” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • improved get_options performances (w/ WP 6.4 compatibility)
  • scripts tracked and added to the settings page also navigating the website


  • inline javascript codes attached to scripts now appended before them


  • better javascript for the settings page


  • added fields for URL-based scripts exclusion from the engine
  • improved Elementor compatibility
  • better HTML minification start hook


  • added HTML minification engine
  • file_get_contents used to recall local files, working with hidden websites
  • fixed CSS bad paths composition
  • fixed CSS @font-face placement
  • fixed existing cached files check


  • Elementor Compatibility


  • Better scripts fetching in “Scripts Filter”
  • Elementor Compatibility (requires jQuery to be ignored during optimization)


  • Added options to exclude CSS and JS concatenation (to just use scripts filter)
  • Added testing mode to check optimizations only if logged as WP admin
  • Added sticky settings update button
  • Better engine initialization code
  • Minor UI improvements


Initial release