Title: Autoptimize cdn?
Last modified: February 2, 2020

---

# Autoptimize cdn?

 *  Resolved [Sitebuilder](https://wordpress.org/support/users/valetrends/)
 * (@valetrends)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/)
 * Hi
 * So I am using Autoptimize for efficiency purposes. But I haven’t checked the 
   box for CDN and lazy loading. Because I think my pictures started to look a bit
   weird when I had that box checked.
 * Now, despite me not using the CDN(I think?) it says I have like 20-30% of my 
   site on a CDN on GTMetrix. Why is that? I thought I did not use a CDN. So I am
   just curious.
 * Does Autoptimize have other components to it that function like a CDN as well?
   I thought it was only the alternative, and checkbox, below images that were on
   CDN?
 * Or does the section JS, CSS and HTML also work like a CDN in some ways?

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/autoptimize-cdn/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/autoptimize-cdn/page/2/?output_format=md)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12389878)
 * No, AO does not work like a CDN. It is possible you have some resources (fonts,
   CSS, JS, …) loaded from CDN’s due to plugins being used. If you can share your
   URL I can have a quick look to check 🙂
 *  Thread Starter [Sitebuilder](https://wordpress.org/support/users/valetrends/)
 * (@valetrends)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12389888)
 * Ok sure. I use something called WP super cache as well. But I don’t think that
   is a CDN either:
 * [https://valuetrendsblog.com/](https://valuetrendsblog.com/)
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12389906)
 * webpagetest.org sees;
 * > CDN’s Used:
   >  platform.twitter.com : Edgecast fonts.gstatic.com : Google
 * but that’s all really.
 * Quick tip regarding your configuration; you’re using Autoptimize + WP Super Cache
   and also WP Fastest Cache, which is at least one plugin too many. You could use:
   *
   WP Fastest Cache for page caching & CSS/ JS optimization * WP Fastest Cache for
   page caching (but without CSS/ JS optimization) & Autoptimize for CSS/ JS optimization*
   WP Super Cache for page caching & Autoptimize for CSS/ JS optimization
 * Having 2 plugins do CSS/ JS optimization at the same time _can_ break things 
   in unexpected ways.
 * Have a nice Sunday!
    frank
 *  Thread Starter [Sitebuilder](https://wordpress.org/support/users/valetrends/)
 * (@valetrends)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12389916)
 * Hi!
 * Sorry I said it wrong. I am only using WP Fastest cache. I don’t use WP super
   cache. I mixed those two plugins together in my head.
 * How would you configure WP fastest cache together with Autoptimize?
 * Also, do you know why GTMetrix says I use a CDN for 20-30% of my site? I thought
   I used no CDN.
 * thanks
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12389932)
 * > How would you configure WP fastest cache together with Autoptimize?
 * I would disable CSS/ JS combination (aggregation) and minification in WPFC.
 * > Also, do you know why GTMetrix says I use a CDN for 20-30% of my site? I thought
   > I used no CDN.
 * well, your theme/ plugins include calls to Google’s CDN for fonts and to the 
   CDN Twitter uses (edgecast).
 *  Thread Starter [Sitebuilder](https://wordpress.org/support/users/valetrends/)
 * (@valetrends)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12389945)
 * “I would disable CSS/ JS combination (aggregation) and minification in WPFC.”
 * Hmm very well. What alternatives should be checked in Autoptimization at the 
   same time?
 * thanks
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12389970)
 * “optimize CSS” and “optimize JS” with default settings, but as far as I could
   tell those were active already 🙂
 *  Thread Starter [Sitebuilder](https://wordpress.org/support/users/valetrends/)
 * (@valetrends)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12390008)
 * aha ok. So what happens otherwise? THe two plugins will compete for the same 
   space or something? Making the website slower?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12390035)
 * > So what happens otherwise?
 * 1. WPFC will overwrite some of AO’s tricks (e.g. “inline & defer CSS” won’t work)
   
   2. the minifiers could clash, simply breaking things
 *  Thread Starter [Sitebuilder](https://wordpress.org/support/users/valetrends/)
 * (@valetrends)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12390133)
 * Hmm it is already going faster. Now I have checked these boxes in the two plugins.
   Let me know if I should exclude/add something:
 * The options I have checked in WP fastest cache now are the following:
 * Cache System = Enable
    Preload = Create the cache of all the site automatically
   New Post = Clear cache files when a post or page is published Update Post = Clear
   cache files when a post or page is updated Minify HTML = You can decrease the
   size of page Gzip = Reduce the size of files sent from your server Browser Caching
   = Reduce page load times for repeat visitors
 * The options I have checked in Autoptimize now are the following:
 * Optimize JavaScript Code?:
    Aggregate JS-files?= Aggregate all linked JS-files
   to have them loaded non-render blocking? If this option is off, the individual
   JS-files will remain in place but will be minified.
 * Optimize CSS Code?:
 * Aggregate CSS-files? = Aggregate all linked CSS-files? If this option is off,
   the individual CSS-files will remain in place but will be minified.
 * Also aggregate inline CSS? = Check this option for Autoptimize to also aggregate
   CSS in the HTML.
 * Generate data: URIs for images? = Enable this to include small background-images
   in the CSS itself instead of as separate downloads.
 * Inline and Defer CSS? = Inline “above the fold CSS” while loading the main autoptimized
   CSS only after page load. Check the FAQ for more info. This can be fully automated
   for different types of pages with the Autoptimize CriticalCSS Power-Up.
 * HTML Options = Optimize HTML Code?
 * Misc Options
    Save aggregated script/css as static files? By default files saved
   are static css/js, uncheck this option if your webserver doesn’t properly handle
   the compression and expiry.
 * Minify excluded CSS and JS files? When aggregating JS or CSS, excluded files 
   that are not minified (based on filename) are by default minified by Autoptimize
   despite being excluded. Uncheck this option if anything breaks despite excluding.
 * Also optimize for logged in editors/ administrators? By default Autoptimize is
   also active for logged on editors/ administrators, uncheck this option if you
   don’t want Autoptimize to optimize when logged in e.g. to use a pagebuilder.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12390554)
 * looks OK 🙂
 *  Thread Starter [Sitebuilder](https://wordpress.org/support/users/valetrends/)
 * (@valetrends)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12390959)
 * Ok, nothing that has to be done further? 🙂 🙂 Those buttons are like greek to
   me, but I get them more and more.
 * Also, do you think a CDN on top of this would put the last grease on the lightning
   bolt so to speak? 🙂
 * For example if I were to combine it with Jetpack now 🙂 Or would that just make
   it more complex to load?
 * Or maybe if I shut of Fastest cache and only go for Jetpack along with Autoptify?
   What do you think?
 * Another thing, I have added some code in my ftp file to make expiry headers. 
   Is that a good move or not? Seems to do nothing at all for my score on GTMETRIX
   any way..
    -  This reply was modified 6 years, 4 months ago by [Sitebuilder](https://wordpress.org/support/users/valetrends/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12391009)
 * you could try Autoptimize’s image optimization options maybe?
 * re. WP Fastest Cache; you really want a page cache, Jetpack does not do that.
 * re. expiry headers; the code you changed will only impact files loaded from your
   own site, CSS/ JS/ fonts from 3rd party servers (Google, Facebook, ..) is something
   that is out of reach.
 *  Thread Starter [Sitebuilder](https://wordpress.org/support/users/valetrends/)
 * (@valetrends)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12391331)
 * Aha so maybe the best is to stay with Fastest cache then?
 * Also, in Fastest cache I have added the alternative “Minify HTML”. In Autoptimize
   I have an alternative called “optimize HTML code”. Are these two doing the same
   thing? And should I therefore exclude one of them?
 * Also about the image CDN in autoptimize. I thougth I got kind of bad quality 
   images when I used that one. Is there a way to use the CDN and have the same 
   resolution of the pictures as they are now? Maybe lossless is the best alternative
   then?
 * Also, I feel like the site is actually loading slightly slower when I have the
   CDN for images, png and lazy-loading enabled. Could this actually be the case?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/autoptimize-cdn/#post-12391835)
 * > Aha so maybe the best is to stay with Fastest cache then?
 * yes 🙂
 * > Also, in Fastest cache I have added the alternative “Minify HTML”. In Autoptimize
   > I have an alternative called “optimize HTML code”. Are these two doing the 
   > same thing? And should I therefore exclude one of them?
 * it’s the same, better pick one.
 * > Maybe lossless is the best alternative then?
 * indeed
 * > Also, I feel like the site is actually loading slightly slower when I have 
   > the CDN for images, png and lazy-loading enabled. Could this actually be the
   > case?
 * should not, but the proof is in pudding, so test on e.g. webpagetest.org and 
   compare onload time & speed index with and without image opt. & lazyload?

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/autoptimize-cdn/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/autoptimize-cdn/page/2/?output_format=md)

The topic ‘Autoptimize cdn?’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 22 replies
 * 2 participants
 * Last reply from: [Sitebuilder](https://wordpress.org/support/users/valetrends/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/autoptimize-cdn/page/2/#post-12795235)
 * Status: resolved