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


Discussion in 'XenForo Pre-Sales Questions' started by Jafo, Jul 29, 2010.

  1. Jafo

    Jafo Active Member

    Will there be any considerations for CDNs? I had to create a product for our sites to utilize origin pull over at Softlayer and even so, found it tricky to hook in everywhere I needed too (i.e. public attachments). Will there be any thought given to this in development?
    Alfa1 likes this.
  2. JulianD

    JulianD Well-Known Member

    I don't think CDN support on XF will be available. There are a lot of different CDN solutions out there to support them all.
  3. Kier

    Kier XenForo Developer Staff Member

    What makes you so sure it won't be available? I'm not saying whether it will or it won't, but nobody except Mike or me is in a position to make an assumption like that.
    IcEWoLF, Learner, Dinh Thanh and 6 others like this.
  4. Cezz

    Cezz Well-Known Member

    I would love to see CDN support it really would help with the latest and greatest site speed enhancements :D
  5. Kuma

    Kuma Active Member

    Even if it was not implemented at the start moving your files to a cdn is not a huge issue. Editing the templates may be annoying, but I doubt it.
  6. JulianD

    JulianD Well-Known Member

    I'm not so sure about that. I'm not trying to take a position that obviously belongs to you and Mike. I don't want to excuse myself but maybe there was a misunderstanding with the language. Sometimes it's hard to express myself in english and these kind of situations occur. I'm really sorry.
    Degrinch likes this.
  7. Jafo

    Jafo Active Member

    Really the only things I find that need to be considered is the ability to change the domain names in the paths dynamically. In VB 3.8.x I basically tie into the stylevars and add my cdn.mydomain.com url to the beginning of them. It is not however, very consistent. There were many other places where I had to manually edit templates, and other places I had to do search/replace on some data, not to mention css.
  8. Shamil

    Shamil Well-Known Member

    I use the same CDN implementation across all of my forums, in that I move some styling images and elements to my CDN. This is transferable to XenForo.

    I assume you want further integration at moving the Javascript files as well? Might have a look at that. It can either fail or work.
  9. Mert

    Mert Well-Known Member

    CDN support for attachments , js files and images is very important and hopefully it will make it.
  10. Shamil

    Shamil Well-Known Member

    I tried this with vBulletin, and it failed. Uploading attachments was a pain, and basically, I had to make a script to upload to the CDN, via FTP. As you can imagine, this increased the time taken for the attachment to get there, causing frustration.
  11. Jafo

    Jafo Active Member

    I did this with the origin pull method by softlayer and was able to put most of the javascript, css, public attachments, avatars, forum icons (entire /images directory), profile pics, album pics, and social group pics on the cdn. According to Pingdom it really sped up the end user experience world wide.
  12. Shamil

    Shamil Well-Known Member

    How did the script upload the profile pics, album pics etc?
  13. Jafo

    Jafo Active Member

  14. Shamil

    Shamil Well-Known Member

  15. p4guru

    p4guru Well-Known Member

    agreed, would love CDN support, should focus on the cost effective ones to start

    maxcdn is what i use 1000GB for US$10 special and now they have 1000GB for US$39.95

    tried simplecdn, rackspace cloud, amazon s3/cloudfront, and maxcdn. Maxcdn is easily my pick :D

    Kier for price of entry into cdn, maxcdn would be a nice starter to look into adding cdn support :)
  16. Jafo

    Jafo Active Member

    I am not sure if it is worth it to focus on one or the other but to make it as CDN friendly as possible. :)
  17. Floris

    Floris Guest

    linux os and symlinks, are your friend :)
  18. p4guru

    p4guru Well-Known Member

    well kier and mike would ideally need to test drive a cdn service first :)
  19. Forsaken

    Forsaken Well-Known Member

    If a CDN option isn't available by default, what would be the difficulty of adding CDN support via mods?
  20. x3sphere

    x3sphere Active Member

    I'd assume an origin-pull based CDN service should work out of the box with relative ease. vB 4 doesn't "officially" support CDNs either but I easily rewrote all my image paths to reference the CDN (we use Akamai).

Share This Page