Autoptimize Trims Your Code, Infinite Uploads Delivers Your Media Worldwide
Autoptimize aggregates and minifies CSS and JavaScript, trims HTML, and can lazy-load and optimize images through ShortPixel. Infinite Uploads covers storage, CDN delivery, Image Optimization on the Business plan, and Video Cloud. Keep Autoptimize for code, and pick one image layer and one CDN rewriter.
150k+
Sites use our WordPress plugins
Free Plan
10 GB Included
Autoptimize and Infinite Uploads: Keep the Minify, Pick One Image CDN
Autoptimize works on code. It aggregates and minifies CSS and JavaScript into wp-content/cache/autoptimize, minifies HTML, and can inline critical CSS. That cache folder sits outside uploads, so connecting Infinite Uploads leaves your aggregation and minify settings exactly as they are. Image options live on a separate Images tab.
The overlap is the Images tab and the CDN Base URL. Autoptimize can send images through ShortPixel's CDN and rewrite its own files to a CDN you name. Infinite Uploads also rewrites image URLs, and adds Image Optimization, on the Business plan, with AVIF and WebP from a global CDN.
Pick one image layer and one CDN rewriter. No documentation lists a conflict, but two tools rewriting the same URLs can leave some images handled by each. Keep Autoptimize for code, and add cloud storage, Media Folders with search and sort, and Video Cloud on every plan, all on one invoice.

Four Things to Know When You Run Both
Autoptimize is a code optimizer. Infinite Uploads is a media cloud. Here is where they help each other and where they overlap.
Choose One Image Optimizer
Autoptimize's Images tab can optimize images through ShortPixel's CDN. Infinite Uploads converts images at delivery too, on the Business plan. Both rewrite image URLs, which is why we suggest choosing one. Leave the Autoptimize option off once Image Optimization is active.
Choose One CDN Rewriter
Autoptimize's CDN Base URL rewrites its aggregated CSS and JavaScript to a CDN you enter. Infinite Uploads serves your synced media, not files in wp-content/cache. Leave the field empty or point it at a CDN meant for code, not at your media CDN.
Critical CSS Files Live in Uploads
Autoptimize writes generated critical CSS to an ao_ccss folder inside uploads and reads it from local disk. Infinite Uploads does not exclude that folder automatically. Add it under Folder Exclusions, and test first, before you free up local storage.
Minify and Aggregation Stay Out of the Way
Aggregated CSS and JavaScript land in wp-content/cache/autoptimize, not uploads. HTML minify and script deferral work on the page itself. None of it depends on where your images, video, and files are stored, so those settings can stay as they are.
Why Sites Run Autoptimize and Infinite Uploads Together
One Invoice for Every Site You Run
Agencies running Autoptimize across client sites connect every one to a single Infinite Uploads account. Unlimited sites on every plan, WordPress Multisite supported, one usage dashboard, and no per-site cloud credentials to hand over.
Move the Library, Keep the Settings
The first sync moves your existing Media Library to cloud storage and rewrites URLs to the CDN. Your Autoptimize settings stay put, and Download & Disconnect copies the library back to your server if you ever want it.
Video Cloud Covers What Autoptimize Skips
Autoptimize's Images tab does not handle video. Video Cloud, included on every Infinite Uploads plan, streams video uploaded to the Video Library in a customizable player. Videos in the Media Library still serve from the CDN as-is.
What to Keep, What to Choose
Feature
What to do
Aggregate and minify CSS and JavaScript
Files are written to wp-content/cache/autoptimize, outside uploads, so offloading media never touches them. Keep these settings as they are.
Works
HTML minify and script deferral
These act on your page output, not on media files. Infinite Uploads only changes where images, video, and files are stored and served from.
Works
Lazy-load images
Delays offscreen images until a visitor scrolls to them. It acts on the image tags in the page. It is off by default, so turn it on if you want it.
Works
Optimize images through ShortPixel's CDN
Infinite Uploads also rewrites image URLs and optimizes at delivery on the Business plan. Choose one, and leave this off when Image Optimization is on.
Pick one
Load AVIF in supported browsers
This is part of the ShortPixel option. Infinite Uploads already serves AVIF and WebP from the CDN with browser fallback, so it is a duplicate.
Turn off
CDN Base URL
It rewrites Autoptimize's own CSS and JavaScript files. Infinite Uploads serves your media, so do not point this field at it. Use one CDN rewriter per file type.
Pick one
Critical CSS files in uploads/ao_ccss
Autoptimize reads these from local disk. The folder is not on the automatic exclusion list. Add it under Folder Exclusions and test before freeing local storage.
Test first
Video on pages that run Autoptimize
Autoptimize does not process video. Upload to the Video Library for adaptive streaming in a customizable player. Media Library videos serve from the CDN as-is.
Works, Video Cloud
WordPress Multisite
Autoptimize keeps a separate cache folder for each site in a network. Infinite Uploads supports Multisite on every plan, and the sites share one account.
Works
Pick One Layer in Three Steps
1. Connect Infinite Uploads
Install the plugin, connect your account, and sync. Your existing Media Library moves to cloud storage and starts serving from the CDN. Autoptimize keeps minifying and aggregating as before.
2. Choose Your Image and CDN Layers
On the Business plan, turn off Autoptimize's image optimization and AVIF once Image Optimization is active. Leave the CDN Base URL empty for media. Keep lazy-load, aggregation, and minify on.
3. Protect Critical CSS, Then Free Up Storage
Add the ao_ccss folder under Folder Exclusions and test a page. Then remove local copies from Infinite Uploads settings once the sync finishes, and your hosting plan gets its space back.
Good to Know Before You Switch
Image Optimization is a Business plan feature. Until a site is on that plan, nothing converts images at delivery. If you are not there yet, leave Autoptimize's image optimization as it is, and switch it off once Image Optimization is active.
ShortPixel needs to fetch public images. Autoptimize's own docs say its image optimization cannot work on images that anonymous visitors cannot download. Autoptimize also only acts on images from your own domain, so check how your pages look after the first sync.
Our overlap advice is reasoning, not a documented conflict. We found no doc that says the two plugins break each other. Choosing one image layer and one CDN rewriter is simply safer. Check the pricing calculator before a large migration, and use free Big File Uploads for oversized originals.
How We Checked
- Read Autoptimize's source for where it writes cached CSS and JavaScript.
- Read its Images tab, ShortPixel rewriting, and CDN Base URL code.
- Found where critical CSS files are written and how they are read.
- Checked the Infinite Uploads exclusion lists for any Autoptimize folder.
- Matched each table row to a setting and to the offload rules.
Result: minify and aggregation are unaffected, while image optimization and CDN Base URL overlap, so pick one of each.
Frequently Asked Questions
Do I still need Autoptimize if I connect Infinite Uploads?
Yes, for aggregating and minifying CSS, JavaScript, and HTML. Infinite Uploads does none of that. Only the image optimization and CDN Base URL options overlap, so choose one of each and keep the rest.
Should I turn off Autoptimize's image optimization?
Yes, once Image Optimization is active on the Business plan. Both tools rewrite image URLs, so some images could be handled by each. Choose one layer and let Infinite Uploads serve AVIF and WebP.
Where does Autoptimize store its files?
Aggregated CSS and JavaScript go to wp-content/cache/autoptimize, outside uploads. Critical CSS goes to an ao_ccss folder inside uploads. Only the second one is a concern for Infinite Uploads.
Will lazy-load still work with CDN image URLs?
Yes. Autoptimize's lazy-load works on the image tags in the page, so it does not matter whether the URL points to your server or the CDN. It is off by default.
Is ao_ccss excluded from cloud sync automatically?
No. It is not on the automatic exclusion list. Add it under Settings, Folder Exclusions, and test a page first, because Autoptimize reads those critical CSS files from local disk.
Should I fill in Autoptimize's CDN Base URL?
Not with your media CDN. That field rewrites Autoptimize's own CSS and JavaScript, and Infinite Uploads serves your synced media. Leave it empty, or use a CDN made for code.
Does Video Cloud work on a site running Autoptimize?
Yes. Autoptimize does not handle video. Upload to the Video Library for adaptive streaming in a customizable player. Media Library videos serve from the CDN as-is.
What if an upload is larger than my limit?
Add our free Big File Uploads plugin. It lifts the WordPress upload limit without hosting changes, so large originals reach your library, and Infinite Uploads takes over storage and delivery from there.
More Performance Plugins That Work With Infinite Uploads
- Infinite Uploads and WP-Optimize
- Infinite Uploads and Hummingbird
- Infinite Uploads and WP Rocket
- See all integrations
Try Infinite Uploads on the Free Plan
No cloud accounts. No access keys. Install the plugin, connect your site, and your images, video, and files start moving to the cloud automatically.
Free plan, no credit card. Paid plans from $8.25/mo. Unlimited sites.