Autoptimize vs WP Rocket: I Tested Both on the Same Server

Autoptimize vs WP Rocket: Autoptimize with WP Super Cache, PageSpeed mobile 100 each; curl TTFB 0.24 s vs 0.23 s

Autoptimize vs WP Rocket is a common comparison, but the two are not the same kind of plugin. Autoptimize cleans up CSS, JavaScript and HTML. It does not cache pages. WP Rocket does both. So I didn’t test Autoptimize alone. I paired it with free WP Super Cache, which is how most people actually run it, and measured that free stack against WP Rocket on the same page, the same Nginx server and the same Cloudflare settings.

Short answer: on raw speed it was a tie. Free WP Super Cache + Autoptimize scored PageSpeed 100 with a 0.24 s TTFB. WP Rocket scored 100 with 0.23 s. Where WP Rocket pulled ahead was Remove Unused CSS: it cut LCP from 1.7 s to 1.1 s, which the free stack can’t do. Pick the free stack if your budget is zero and you’re happy to test exclusions yourself. Pick WP Rocket if you want page cache, preload, unused-CSS removal and delay-JS in one plugin you rarely have to touch.

Tested: Autoptimize 3.1.17 + WP Super Cache vs WP Rocket (Single license, current release on November 9, 2026). WordPress 7.1.4, PHP 8.5, Kadence theme, Nginx on an aaPanel VPS in Hong Kong behind Cloudflare (proxied, HTML not cached at the edge). Measured from Dhaka on November 8–9, 2026. Prices checked November 9, 2026.

Autoptimize vs WP Rocket at a glance

Autoptimize (free)WP Rocket
What it isAsset optimizer (CSS, JS, HTML, fonts, images)Cache plugin + asset optimizer
Page cacheNo (needs a cache plugin; Pro adds one)Yes
Cache preloadNoYes
Minify CSS / JSYesYes
Defer JavaScriptYesYes
Delay JavaScript until user interactionNo (free version)Yes
Remove unused CSSNoYes
Critical CSSManual rules free; automatic with Pro or a criticalcss.com keyYes (Optimize CSS delivery)
Lazy-load imagesYesYes
Database cleanup / Heartbeat controlNoYes
Cloudflare integrationNot needed (works behind it)Add-on (purge, dev mode)
PriceFree; Pro from $89/yearFrom $5/month, billed yearly
Result on my page (PSI mobile / LCP)100 / 1.7 s (with WP Super Cache)100 / 1.7 s, 1.1 s with Remove Unused CSS

The key difference: Autoptimize is not a cache plugin

A lot of comparisons skip this. Autoptimize has a cache folder and a “Clear cache” button, but that cache only holds the optimized CSS and JS files it creates. Every page is still built by PHP on every visit. WP Rocket’s own blog makes the same point: Autoptimize has no page cache, browser cache or GZIP.

WP Rocket saves a finished HTML copy of each page and serves that instead, so WordPress doesn’t run for most visitors. That alone is the biggest TTFB win on most sites. On my test page, TTFB went from 0.759 s with no cache to 0.23–0.37 s once a page cache was on (0.24 s with WP Super Cache + Autoptimize). Autoptimize by itself would not have moved that number.

So the fair question isn’t “Autoptimize vs WP Rocket” on their own. It’s “free page cache + Autoptimize, or WP Rocket”. That’s what I measured.

How I tested

  • Same page, same server: one real blog post on a test copy of this site, Kadence theme, no page builder. Only one optimization setup active at a time; caches and leftovers removed between plugins.
  • TTFB: curl from Dhaka, 5 requests, median of the last 4 (the first warms the cache).
  • PageSpeed Insights: mobile, 3 runs, median reported.
  • Page weight: Chrome DevTools Network panel with cache disabled.
  • Proof it was working: response headers, page source (aggregated or deferred files, WP Rocket’s footprint) and DevTools Coverage for CSS.
  • What counts as a tie: differences under 0.05 s TTFB or 3 PageSpeed points are noise on a small page with 3 runs.
  • One honest caveat: WP Rocket was measured the evening after the free stack, and I didn’t re-run the baseline that day. The server, page and Cloudflare settings were unchanged.

If you want to run the same checks on your own site, my guide to checking whether WordPress cache is working walks through the header and TTFB tests.

Results: free stack vs WP Rocket

SetupTTFB (median)PSI mobileLCPSpeed IndexRequestsTransferred
No cache (baseline)0.759 s972.5 s3.3 s33413 kB
WP Super Cache only0.37 s*962.7 s1.1 s33413 kB
WP Super Cache + Autoptimize0.243 s1001.7 s1.1 s27140 kB
WP Rocket (minify, defer, delay JS)0.234 s1001.7 s2.2 s28148 kB
WP Rocket + Remove Unused CSSn/a1001.1 s1.0 s28154 kB**

*WP Super Cache’s TTFB varied between runs on this page (0.27 s in its default mode, 0.37–0.42 s after enabling all options). **Measured during the Coverage test, so slightly higher. Total blocking time was 0 ms and CLS 0 in every run.

PageSpeed Insights mobile score of 100 with WP Super Cache and Autoptimize
WP Super Cache + Autoptimize: 100, LCP 1.7 s
PageSpeed Insights mobile score of 100 with WP Rocket
WP Rocket: 100, LCP 1.7 s

What the numbers say

  • TTFB is a tie. 0.243 s vs 0.234 s is inside the noise. Both serve cached HTML; the cache plugin does the work here, not the optimizer.
  • PageSpeed is a tie at 100. On a light theme like Kadence there’s not much left to fix once CSS and JS stop blocking rendering.
  • Autoptimize made the page lighter. 413 kB → 140 kB transferred and 33 → 27 requests, slightly lighter than WP Rocket’s 148 kB. Both optimized setups cut what loads by roughly two-thirds; I didn’t isolate which single option saved the most.
  • Speed Index favored the free stack (1.1 s vs 2.2 s). Both pages painted their largest element at the same 1.7 s, so I count it as a minor win, not a reason to choose.
  • WP Rocket’s real edge is Remove Unused CSS. With it on, LCP dropped from 1.7 s to 1.1 s and Speed Index from 2.2–2.3 s to 1.0 s. Autoptimize has no built-in equivalent; the nearest options are critical CSS (manual rules, or automatic with Pro or criticalcss.com) or its paid RapidLoad power-up.
Chrome DevTools Network summary showing 27 requests and 140 kB transferred with WP Super Cache and Autoptimize
Free stack: 27 requests, 140 kB transferred
Chrome DevTools Network summary showing 28 requests and 148 kB transferred with WP Rocket
WP Rocket: 28 requests, 148 kB transferred

Remove Unused CSS: the one thing Autoptimize can’t match

Before Remove Unused CSS, Chrome’s Coverage tool showed only 30% of the page’s CSS and JS was actually used (99.9 kB of 332 kB). After WP Rocket generated its used-CSS file, which took about eight minutes and a few wp-admin page loads to trigger the background job, 49% was used and the unused part fell from 232 kB to 97 kB.

Chrome Coverage report showing 232 kB of unused CSS and JavaScript before WP Rocket Remove Unused CSS
Chrome Coverage report showing 97 kB of unused CSS and JavaScript after WP Rocket Remove Unused CSS

That’s what moved LCP to 1.1 s. On heavier themes and page builders the gap is usually bigger, because they load far more CSS than any one page needs. If your site already scores in the high 90s, you may not notice the difference; if you’re stuck on a slow LCP, this feature is the main reason to pay. My WP Rocket settings guide covers how to turn it on safely.

PageSpeed Insights mobile result after WP Rocket Remove Unused CSS with LCP 1.1 seconds

Feature comparison in detail

Caching and preload

WP Rocket builds the page cache, preloads it from your sitemap so the first visitor doesn’t get a slow uncached page, and adds browser-cache rules (on Apache; on Nginx those live in the server config). Autoptimize does none of this. With the free stack, WP Super Cache handles caching and has its own preload tab. On Nginx, WP Super Cache works in Simple mode, served through PHP, which still gave 0.27–0.37 s on its own and 0.24 s with Autoptimize on top.

CSS and JavaScript

Both minify CSS and JS and can defer scripts. Autoptimize can aggregate everything into one file. I left aggregation off because individual files over HTTP/2 tested fine and break less often. WP Rocket disables combining JS when Delay JavaScript is on, and its Delay JS feature, which holds scripts until the visitor scrolls or taps, has no free Autoptimize equivalent. Removing unused CSS is WP Rocket only.

Images and fonts

Both lazy-load images. Autoptimize’s Images tab can also convert to WebP/AVIF through ShortPixel, which is a separate paid service beyond its free quota. WP Rocket has no image compression; its makers sell Imagify for that. For Google Fonts, Autoptimize can remove them or combine them with display:swap; WP Rocket has its own Google Fonts optimization.

Ease of use and support

WP Rocket works the moment you activate it and includes ticket support on every plan. The free stack needs two plugins and some trial and error with exclusions, and free support is the wordpress.org forum.

Extras

WP Rocket adds database cleanup, Heartbeat control, a CDN rewrite and a Cloudflare add-on. Autoptimize’s Extra tab removes emojis, adds preconnect and preload hints, and can strip WordPress block CSS if you don’t need it.

Price: free vs paid

OptionPrice (checked Nov 9, 2026)What you get
WP Super Cache + AutoptimizeFreePage cache + CSS/JS/HTML optimization
Autoptimize Pro$12.99/month or $89/year (1 site)Adds page cache, image optimization, CDN, automatic critical CSS, Delay JS
WP Rocket Single$5/month billed yearly (Black Friday until Nov 28, 2026: $3/month for one year, or $1.95/month on a 3-year plan)Page cache, preload, minify/defer, Delay JS and Remove Unused CSS; no image compression

WP Rocket has a 14-day free trial; cancel before it ends and you aren’t charged. Renewal is at the regular yearly price. For more on whether it’s worth paying, see my WP Rocket review.

If your site earns money or your LCP is stuck above 2.5 s, WP Rocket’s Remove Unused CSS is the feature most likely to fix it without hiring a developer.

Can you use Autoptimize with WP Rocket?

Yes, and nothing conflicts by design. WP Rocket’s documentation says it detects Autoptimize and switches off its own overlapping options (for example, it shows a notice that CSS minification is active in Autoptimize). Their suggested split: Autoptimize handles minifying HTML, CSS and JS; WP Rocket handles page cache, lazy-load, Delay JS and Remove Unused CSS. If you use WP Rocket’s CDN setting, add the same CDN URL in Autoptimize.

My advice: don’t, unless you already have Autoptimize tuned and working. Two plugins optimizing the same files means two places to look when something breaks, and on my page WP Rocket alone matched the free stack’s score. If you do run both, clear Autoptimize’s cache after every change; WP Rocket’s docs say that clears WP Rocket’s cache too.

Settings I used for each setup

Free stack: WP Super Cache + Autoptimize

  • WP Super Cache: caching on, Simple mode (Expert mode needs Apache rewrite rules, which Nginx doesn’t read).
  • Autoptimize JS: Optimize JavaScript on, aggregate off, “Do not aggregate but defer” on, also defer inline JS on.
  • Autoptimize CSS: Optimize CSS on, aggregate off, eliminate render-blocking CSS off (no critical CSS rules).
  • Autoptimize HTML: Optimize HTML on. Extra: Remove emojis on; Google Fonts left as is.
Autoptimize JS, CSS and HTML settings used in the test with defer enabled and aggregation off

Nothing broke with these settings. If something does on your site, exclude the script that breaks in “Exclude scripts from Autoptimize”, or switch off “Also defer inline JS” first. My full Autoptimize settings guide explains every option.

WP Rocket settings

  • Cache: default settings.
  • Page Optimization → JavaScript & CSS: Minify CSS and JS on, Load JavaScript deferred on, Delay JavaScript execution on.
  • Then Remove Unused CSS on for the last run.
WP Rocket Page Optimization JavaScript and CSS settings with minify and load JavaScript deferred enabled

WP Rocket’s current menus differ from older versions: the old “File Optimization” tab is now Page Optimization → JavaScript & CSS, and “Media” is Image & Media. Older tutorials still use the old names.

Which one should you choose?

Here’s how I’d settle Autoptimize vs WP Rocket for different kinds of sites:

  • Zero budget, simple blog: WP Super Cache + Autoptimize. It scored the same 100 on my page.
  • Slow LCP, heavy theme or page builder: WP Rocket, for Remove Unused CSS and Delay JS.
  • Not technical, want set-and-forget: WP Rocket. One plugin, safe defaults, preload built in.
  • Already on host-level caching (for example a host that caches pages for you): Autoptimize alone can be enough, because the host does the page caching.
  • Nginx VPS: both work. Neither needs extra server rules for the setup above.

For other free and paid options, see my WP Rocket alternatives test: nine plugins on the same server, WP Super Cache with Autoptimize included.

Pros and cons

WP Super Cache + Autoptimize: pros and cons

Pros:

  • Free, and matched WP Rocket’s score and TTFB on my page
  • Lightest page in the test (140 kB)
  • Fine-grained control over what gets deferred or excluded

Cons: two plugins to configure; no unused-CSS removal or delay JS; critical CSS needs manual work or a paid service; on Nginx, WP Super Cache still serves pages through PHP.

WP Rocket: pros and cons

Pros:

  • Page cache, preload and optimization in one plugin
  • Remove Unused CSS gave the best LCP in the test (1.1 s)
  • Detects Autoptimize and avoids conflicts if you keep both

Cons: paid yearly; no image compression; Remove Unused CSS takes a few minutes to generate and needs WP-Cron running.

Final verdict

So who wins Autoptimize vs WP Rocket? If speed scores are all you care about and your theme is light, the free WP Super Cache + Autoptimize stack is good enough. It tied WP Rocket on TTFB and PageSpeed in my test. WP Rocket earns its price when you need what the free stack can’t do: removing unused CSS, delaying JavaScript and preloading the cache, all from one plugin with sensible defaults. For most sites that make money, that’s worth $5 a month; for a hobby blog, start free and switch only if LCP becomes a problem.

Comparing other options? See FlyingPress vs WP Rocket, WP Rocket vs W3 Total Cache or WP Rocket vs WP Fastest Cache, or learn how to reduce TTFB on WordPress at the server level.

FAQ

Is Autoptimize better than WP Rocket?

Not better, different. Autoptimize only optimizes CSS, JavaScript and HTML and has no page cache. Paired with free WP Super Cache it tied WP Rocket on TTFB and PageSpeed in my test, but WP Rocket’s Remove Unused CSS gave a faster LCP (1.1 s vs 1.7 s).

Does Autoptimize cache pages?

No. The free plugin’s cache only stores the optimized CSS and JS files. You need a page cache such as WP Super Cache or your host’s caching. Autoptimize Pro adds a page cache as a paid feature.

Can I use Autoptimize and WP Rocket together?

Yes. WP Rocket detects Autoptimize and turns off its own overlapping file optimizations. It works, but running one optimizer is simpler to troubleshoot.

What is the best free alternative to WP Rocket?

On my Nginx test site, WP Super Cache plus Autoptimize came closest: same PageSpeed score of 100 and a 0.24 s TTFB. What it lacks is removing unused CSS and delaying JavaScript.

Should I aggregate CSS and JS in Autoptimize?

Usually not on HTTP/2 hosting. I kept aggregation off and used “Do not aggregate but defer”, which scored 100 without breaking anything. Aggregation is more likely to break layouts and creates large files that change often.

Does WP Rocket have a free trial?

Yes, 14 days. If you cancel before the trial ends you aren’t charged. Black Friday pricing runs until November 28, 2026.

Related Guides