• Resolved woorooo

    (@woorooo)


    Hi,

    I’ve recently noticed that AO sometimes doesn’t want to use CDN for some pages. Here are 2 instances of the same pages using and only partially using CDN to serve static content.

    https://tools.pingdom.com/#5ce909a196c00000 – CDN used partially, but the most requests come from the original domain dancelifemap.com

    https://tools.pingdom.com/#5ce90b858f000000 – CDN used normally

    You can see it in the “Requests by Domain” and “Content size by domain” sections

    I use Autoptimize together with WP Super Cache, but I’ve tested it a couple of times without Super Cache and I’m quite certain it’s AO’s behavior. Sometimes clearing both caches help, but sometimes not, it just keeps serving those pages over an over again bypassing CDN.

    Is there any suggestion how to make sure it uses CDN all the time?

    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    CDN in Autoptimize is only used for the Autoptimized files (and not for image or other resources that are left untouched by AO), which in both cases seems to work woorooo ?

    Thread Starter woorooo

    (@woorooo)

    Yes, it makes sense, could there be some conflict with WP Super Cache or other caching plugins like Breeze? I’ve tested with both and both times I ran into the same problem when AO is used.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Don’t see how to be honest; AO changes JS/ CSS (combine & minify + link to CDN-domain if configured as such) and then gives the resulting HTML back to the next step which generally is the page cache. If the page cache (WP Super Cache, I heard Breeze does not do page caching) is configured to do CDN, then it would act on resources AO did not touch, putting those on the CDN as well?

    Thread Starter woorooo

    (@woorooo)

    Not sure, I’m not a professional web developer, so I hardly understand what exactly is happening there, I’ve noticed this strange behavior and wanted to see if there is a fix. I would like all static files to be served via CDN.

    Just to confirm, there is nothing that could be done to make it do it all the time?

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    Just to confirm, there is nothing that could be done to make it do it all the time?

    not in Autoptimize I’m afraid, no.

    Thread Starter woorooo

    (@woorooo)

    Thank you. I’ve posted the similar request to WP Super Cache, hopefully they will be able to help resolve why images are not served via CDN sometimes.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘AO sometimes not using CDN’ is closed to new replies.