🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
Optimize Scripts & Styles icon
Maintained Tested up to 6.8.13 #17 in minify

Optimize Scripts & Styles

Optimize Scripts & Styles combines scripts and styles on your site, minifies them and provides cachable versions for improved site performance.

Active installs40+10+ tier
Downloads · 30d175▲ +52.2% vs prev. 30d
Rating5/52 reviews
Health score46/100Fair
All-time downloads12.5KSince Jun 2018
Support resolved—No recent threads
RequiresWP 6.1PHP 7.4+
Downloads · 7d63▲ +65.8% week over week
Our verdict

Use with caution

Optimize Scripts & Styles works, but test it on a staging site before relying on it in 2026. It runs on 40+ sites, is rated 5/5 and was last updated 8 months ago, and scores 46/100 on our health check.

  • Small user base (40+ active installs)
  • Very few reviews so far
  • Only tested up to WordPress 6.8 (latest is 7.1)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

3711Sep 4Oct 18Dec 2
Yesterday15
Daily average (1y)3
Peak day40Apr 21, 2026
Last 12 months1.2K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where Optimize Scripts & Styles stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
minify #74 662 Best minify plugins →
optimization >100 5,761 Best optimization plugins →
Optimize #78 3,380 Best Optimize plugins →
scripts #29 10,000 Best scripts plugins →
styles #25 10,000 Best styles plugins →

Version adoption

Share of active sites per release.

  • 1.9100.0%

Rating breakdown

★★★★★★★★★★ 5 from 2 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Optimize Scripts & Styles

From the official readme · v1.9.7

Description

Optimize Scripts & Styles optimizes your site’s JavaScript and CSS files by combining, minifying and caching them. This will help your site’s overall performance and user experience by reducing the number of files served up and the overall size of these files.

For developers, this allows you to maintain uncompressed versions for development themes or plugins, while compressing them for a production environment.

For you SEO buffs, it cleans up the number of scripts that get included and downloaded to your site visitors, helping your overall PageSpeed score.

Header and footer script locations are maintained as well as any localized data used for the scripts and the minified files are stored in the /cache folder, making it friendly for plugins like WP Super Cache. Media attributes are also maintained for print stylesheets.

Features

  • Combine & minify all JavaScript & CSS that is enqueued
  • Stores the optimized files in the cache folder for faster page loads
  • Compatible with caching plugins like WP Super Cache and W3 Total Cache
  • Enable for logged in users (not recommended)
  • Available options to remove or ignore enqueued scripts and styles
  • Optional button in the admin bar to clear scripts and styles
  • Includes an option to remove script type attributes for HTML5 validation

Installation

  1. Upload the plugin files to the /plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Configure the plugin through ‘Settings’ > ‘Optimization’

Changelog

This update fixes the way the plugin keeps track of already processed scripts. You should be using at least this version.

1.9.7

  • PHP 8.4 compatibility
  • [New Feature] DNS prefetch options to add preconnect and dns-prefetch hints for external resources
  • [New Feature] HTML minification. Page HTML & script content (application/ld+json, application/json, application/speculationrules, importmap) is now minified when HTML minification is enabled
  • Fixed JS error when clicking Clear OS&S Cache in the admin bar on non-settings admin pages
  • Before and after inline scripts (localized data, wp_add_inline_script) are now minified when the minify JavaScript setting is enabled, for both cached and non-cached output
  • Relaxed the “already minified” heuristic that was skipping valid pages (previously required 10+ newlines; now only skips when HTML is clearly pre-minified)
  • Improved internationalization for admin UI strings (settings page, DNS prefetch controls, localized JavaScript messages for cache clearing, main Optimization admin screen)
  • Diagnostic logging (including cache clears and file/cache errors) only when both WP_DEBUG and WP_DEBUG_LOG are enabled, via a shared helper

1.9.6

  • SECURITY FIX: Fixed critical directory traversal vulnerability in CSS import processing and script path handling
  • Added comprehensive path validation to prevent directory traversal attacks
  • Enhanced security checks for file operations to ensure paths are within WordPress directory structure
  • Improved input sanitization for import paths and script URLs

1.9.5

  • PHP 8.3 compatibility
  • Updated minify package to 1.3.73
  • Added better recursion for JavaScript dependencies
  • Added better handling of localized scripts before & after javascript
  • Added handling for async and defer scripts, retaining their intended load strategy
  • Code refactoring

1.9.4

  • PHP 8.2 compatibility
  • Updated minify package to 1.3.71
  • Fixed a bug with stylesheet dependencies

1.9.3

  • Added recursive stylesheet dependency inclusion
  • Better code comments

1.9.2

  • Fixed an issue with the HTML5 text/css feature inadvertently converting link tags to script tags

Full changelog on WordPress.org →

Screenshots

Admin Options
Admin Options
Cached Files List
Cached Files List
Pre-Optimized Header
Pre-Optimized Header
Optimized Header
Optimized Header
Pre-Optimized Footer
Pre-Optimized Footer
Optimized Footer
Optimized Footer

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best Optimize Scripts & Styles alternatives

All minify plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance WP-Optimize Get caching and more with this powerful cache plugin. Cache, optimize images, clean your… by David Anderson / Team Updraft 1M+ ★★★★★★★★★★ 4.8 (2.6K) 2 weeks ago 94
2 SpeedyCache – Cache, Optimization, Performance SpeedyCache – Cache, Optimization, Performance SpeedyCache is a WordPress cache plugin that helps you improve performance of your… by Softaculous 500K+ ★★★★★★★★★★ 4.4 (30) 6 days ago 90
3 Clearfy Cache – WordPress optimization plugin, Minify HTML, CSS & JS, Defer Clearfy Cache Optimize and tweak WordPress by disable unused features. Improve performance, SEO and… by Creativemotion 40K+ ★★★★★★★★★★ 4.7 (339) 4 months ago 68
4 Minify HTML Minify HTML Minify HTML output for clean looking markup and faster downloading. by Tim Eckel 10K+ ★★★★★★★★★★ 4.7 (33) 9 months ago 61
5 WP Super Minify • Minify, Compress and Cache HTML, CSS & JavaScript WP Super Minify • Minify, Compress and Cache HTML, CSS & Ja… A lightweight plugin that automatically minifies, compresses, and caches HTML, CSS, and… by Dipak Gajjar 8K+ ★★★★★★★★★★ 4.1 (73) 3 months ago 75
6 Better WordPress Minify Better WordPress Minify Allows you to combine and minify your CSS and JS files to improve page load time. by Khang Minh 7K+ ★★★★★★★★★★ 4.2 (137) 9 years ago 42
7 JCH Optimize JCH Optimize Faster pages, better PageSpeed scores, Core Web Vitals that pass. Page cache, critical CSS… by codealfa 4K+ ★★★★★★★★★★ 4.4 (69) 5 days ago 86
8 Merge + Minify + Refresh Merge + Minify + Refresh Merges/Concatenates CSS & Javascript and then minifies using Minify (for CSS) and Google… by launchinteractive 3K+ ★★★★★★★★★★ 4.2 (68) 2 weeks ago 76
9 WP Minify Fix WP Minify Fix [Fixed] This plugin uses the Minify engine to combine and compress JS and CSS files to… by NodeCode 800+ ★★★★★★★★★★ 4 (40) 9 years ago 39
10 Powered Minifier Powered Minifier Reduce your page load by minifying your HTML source along with all the CSS and JS code… by neoslab 200+ ★★★★★★★★★★ 5 (2) 2 years ago 42

FAQ

Optimize Scripts & Styles: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is Optimize Scripts & Styles free?

Yes. Optimize Scripts & Styles is free to download and use from the official WordPress.org plugin directory.

Is Optimize Scripts & Styles safe to use in 2026?

Optimize Scripts & Styles works, but test it on a staging site before relying on it in 2026. It runs on 40+ sites, is rated 5/5 and was last updated 8 months ago, and scores 46/100 on our health check.

How many websites use Optimize Scripts & Styles?

Optimize Scripts & Styles is active on 40+ WordPress websites and has been downloaded 12,482 times since it launched in June 2018. It was downloaded 175 times in the last 30 days.

Does Optimize Scripts & Styles work with WordPress 7.1?

Optimize Scripts & Styles is officially tested up to WordPress 6.8.13, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Optimize Scripts & Styles need?

Optimize Scripts & Styles requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Optimize Scripts & Styles last updated?

The latest version, 1.9.7, was released on April 20, 2026 (8 months ago).

Who makes Optimize Scripts & Styles?

Optimize Scripts & Styles is developed and maintained by Sean Michaud.

What are the best alternatives to Optimize Scripts & Styles?

The most popular alternatives to Optimize Scripts & Styles are WP-Optimize (1M+ installs), SpeedyCache (500K+ installs) and Clearfy Cache (40K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open