1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Lack of Interest CDN Support

Discussion in 'Closed Suggestions' started by Cory Booth, Aug 11, 2010.

  1. Cory Booth

    Cory Booth Well-Known Member

    Any ability to off-load common images / avatars / etc to a CDN would be nice to be able to do.
    Right now I am cheating by using Google App Server.
    Marcus likes this.
  2. Andy.N

    Andy.N Well-Known Member

  3. Tigratrus

    Tigratrus Well-Known Member

    Hi Cory, and welcome to XF!
    Re: CDN, it's something that's been suggested though it's hard to find given that it's 3 characters ;).
    Checkout http://xenforo.com/community/threads/cdn.182/ , I'd chime in on there with your opinion.
  4. Shamil

    Shamil Well-Known Member

    As others have said.

    Might I be able to ask how you are currently implementing Google App Engine as the CDN on your forum? I assume you're syncing files up there?

    I've got a website running ALL static content, except jQuery, from Google App Engine. Suffice to say it's fine. However, simple template edits are sufficient to satisfy the craving for putting often used content to the CDN.

    Additionally, it will help to set ETags and Expires. Many of us dive into the CDN without looking first at what can be done on the server-site side. For example, just set up a cookie-less domain and serve content from that. Not too difficult :)
  5. Cory Booth

    Cory Booth Well-Known Member

  6. KiD0M4N

    KiD0M4N New Member

    For the bigger forums out there, it makes a lot of sense if we could place our images, scripts in CDN for faster performance for our users.

    Right now, one can do this in vBulletin... but this could one of the defining features of XF.

    We could start off with integration with Amazon S3/Cloudfront and then expand going forward.

  7. Floris

    Floris Guest

  8. graham_w

    graham_w Active Member

    Ive seen suggestions for CDN etc and it works great for avatars, js & attachment thumbnails. Now there is CDN support in Xenforo, I thought id make a specific request/suggestion for full sized attachments.

    I have all of our attachments viewable to the public and would like to have an option for these to be served by CDN.

    This addition would make me complete ;)
  9. Dinh Thanh

    Dinh Thanh Well-Known Member

    If all files are public you use them with CDN. I think you can use a sub domain for attachments.
    I don't know is it easy for a busy site to sync all attachments across CDN nodes.
  10. graham_w

    graham_w Active Member

    If its possible to use a CDN for attachments, I'm yet to find out how. As far as I understand and have seen from my personal experience, it only serves the attachment thumbnails, avatars, js and style images at this stage.

    If you use a pull-origin CDN, on the first request for the file the CDN will grab the file from your server if not in cache and download it to the CDN cache. All future requests will serve that file from the CDN until it expires from cache. I've found by serving full attachments from the CDN can save up to 30% on bandwidth every day - probably more on much busier forums with more attachments.
  11. Brent W

    Brent W Well-Known Member

    Would be nice if we could figure out a way to use CDN for full size attachments that are public.
  12. Brent W

    Brent W Well-Known Member


    The insert Full Image option really defeats the purpose of having any kind of CDN option for xenForo attachments if it doesn't work with Full Size images.

    All of my members on one site insist on inserting every image as Full Size which puts the resources fully on my server to serve up the full size image.
  13. Arkshine

    Arkshine Active Member

    I second that, atfer installing MaxCDN, I've noticed the full images in a post were not displayed from the cache. I've tried to search a [tricky] way without result. I guess that's something which should be changed internally, or at least an option to have the original images in /data.
  14. graham_w

    graham_w Active Member

    Mine too - crossing fingers this gets implemented in the next release. Our bandwidth requirements have tripled from the server because of this since moving to Xenforo (was using VBSEO with CDN integration)

Share This Page