• I am really impressed with this plugin. I would love to use it but cannot get it to work with my CDN. The benefits of the CDN generally outweigh the savings of Adaptive images – but it would be amazing to have both functioning together.

    My MaxCDN CDN path does use a subdomain format (I think most do? You must use this if you use SSL) like: cdn.mysite.com I understand this subdomain setup is not supported by Adaptive images?

    Is there any way I can adapt my CDN setup to work with this plugin? If so how? Or will you support the standard CDN setup in the future?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takis Bouyouris

    (@nevma)

    Hello, my friend,

    Thank you for reaching out!

    The issue you are describing touches the core of how CDNs work indeed. And it all boils down to the question “who is the one who actually delivers the image to the browser”. When a CDN is used it is the CDN who does that. It is the CDN alone who communicates with the browser and can make decisions as to what it might deliver at each time.

    Unfortunately, when CDNs use a subdomain it is impossible for the original WordPress installation to communicate with the CDN and instruct what to deliver to the browser. As far as I know CDNs use subdomains but not always, not even in the majority of the cases. And you can use SSL in any case, this has nothing to do with subdomains or not.

    When you use a CDN without a subdomain it is possible to make the original WordPress installation work with the CDN in order to deliver adaptive images to the browser by enabling the CDN support option in the plugin settings page. This adds a url parameter at the end of the image urls for this purpose. Of course this option is a bit experimental. Nothing risky there, just some images might be delivered in original and not resized versions.

    We are trying hard to tackle this general issue, but we haven’t come up with a full solution yet. Keeping our fingers crossed!

    Cheers,
    Takis

    Thread Starter George M

    (@plan9)

    Hello Takis

    Thank you for this detailed explanation. I don’t see a way that it can work with MaxCDN as the default cdn url is also in subdomain format: cdn.xxx.netdna-cdn.com or perhaps it’s ok because it’s not a subdomain of the WP install?

    Thanks

    Plugin Author Takis Bouyouris

    (@nevma)

    Hello, again,

    Unfortunately, no, this is the case that is currently impossible to work. It grieves me to say so, but this is how things are.

    However, I always present the argument that, if a website is not high traffic or does not have users distributed all over the globe, then the benefit of using a CDN might be minimal or even unnoticeable especially compared to the effort and cost the CDN ultimately has.

    But, of course, I am aware of all the counter-arguments, too! ??

    Cheers,
    Takis

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘CDN Support’ is closed to new replies.