• Hello,
    I run my website using the Cloudflare CDN technology, but in last few days I have read about advantages coming through serving images from a subdomain, which increase performance.
    Because of I am using a CDN for my website, is the migration of images on a subdomain still necessary?
    Many thanks.

    Regards.
    Riccardo

Viewing 3 replies - 1 through 3 (of 3 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    No, using a CDN removes that “need”.

    The reason you use a different domain for images is that most browsers open a maximum number of connections per server (e.g., 4) and download stuff in parallel when possible. If you have lots and lots of images, it’s helpful to spread them over different domains/sub-domains so more can be parallelized.

    However, if all those images are on the same physical server, you’re going to run into a bottleneck with the network speed of that server as well as the network speed at the viewer’s end. So, some parellization is good. Too much doesn’t help.

    Thread Starter r99photography

    (@r99photography)

    Hello Steve,
    Thanks for your reply, but I cannot understand why, despite using CDN, I don’t need setup a subdomain for serving images, if this could help when downloading static assets in a parallel way.
    I think they are two different solutions for speeding up the website, if so, they are one he alternative of the other, but they could coexist.
    I am a little bit confused, sorry.

    Regards,
    Riccardo.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    You can add a CDN for your images by enabling the Photo module of Jetpack. It will spread your images over several subdomains.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cloudflare CDN / Images served by a subdomain’ is closed to new replies.