Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted July 22, 201014 yr Is there an easy way to enable the use of CDN (Content Delivery Network) with IPB?
July 26, 201014 yr I suggest storing style files, and maybe some of the javascript files on the CDN. :)
July 30, 201014 yr Just to add to vrtsolus, store all your forum images also there too. To enable the use of CDN is pretty easy. Just set up a subdomain like images.domain.com to your CDN and then enter this subdomain into the Image URL setting under General Configuration in your admin cp. Your all set for using the CDN for serving your forum's images. Note this is for your site images, such as images used for your forum skin and such.
August 2, 201014 yr Just to add to vrtsolus, store all your forum images also there too. To enable the use of CDN is pretty easy. Just set up a subdomain like images.domain.com to your CDN and then enter this subdomain into the Image URL setting under General Configuration in your admin cp. Your all set for using the CDN for serving your forum's images. Note this is for your site images, such as images used for your forum skin and such. Only thing is that for a lot of people they will need to go through the css files and make sure every file will redirect properly.
August 2, 201014 yr Only thing is that for a lot of people they will need to go through the css files and make sure every file will redirect properly. It shouldn't be a issue unless they didn't use the image directory variable and hard linked it.
August 5, 201014 yr I've had good experience with both Edgecast and Highwinds. I use both for two different projects. Edgecast has superior delivery in the Asia Pacific area, but tend to nickel/dime you for stuff. Highwinds has good US/Europe delivery, but nothing in APAC. They're more inclusive.
August 11, 201014 yr I've currently set up MaxCDN for one of our clients and it definitely makes a difference. Apart from the edits in the ACP I would suggest using an htaccess to redirect some files that are hard linked in. We previously tried putting up a image server but a CDN definitely helps!
August 15, 201014 yr I've currently set up MaxCDN for one of our clients and it definitely makes a difference. Apart from the edits in the ACP I would suggest using an htaccess to redirect some files that are hard linked in. We previously tried putting up a image server but a CDN definitely helps! I set up MaxCDN for images (which uses the /public directory) and for uploads. It seems as though their server passes requests through for files above the 10MB limit on pull zones. What is awesome about MaxCDN is that it is cheap (right now $39.95 for 1TB of traffic.. that's a one time cost until you use it all), and because it can PULL content directly from your server I set up my site as follows: http://up.mysite.com/ -> Set to use /uploads as the root document directory http://pub.mysite.com/ -> Set to use /public as the root document directory Then I created two special CDN subdomains on MaxCDN through their control panel using what they refer to as a "Pull Zone": http://uploads.mysite.com/ -> Uses http://up.mysite.com/ as the origin server http://public.mysite.com/ -> Uses http://pub.mysite.com/ as the origin server After that I just had to use "http://public.mysite.com/" as the images url, and "http://uploads.mysite.com" as the uploads url.. It was just that easy and I have content being uploaded to servers across the U.S. and in Europe.. while MaxCDN doesn't fully offer global coverage yet, you can definitely get some load off your servers without much work and minimal costs.
August 16, 201014 yr Cool I'll try that. A question, can we use CDN for IP.Downloads and forum images? Also is it possible for you to make a guide / tutorial (article / video) on how to use CDN with IPS products? Thank you.
August 16, 201014 yr Hi, I'm testing this same setup with MaxCDN and it's working great. For JS and CSS, since I'm running the minify version, I just created a cache zone with nginx and serving then as static files from my server. It's very fast this way. To use css and js with the cdn I think you must edit the template files, but i haven't tested ... I have not much knowledge to IPS products yet.
Archived
This topic is now archived and is closed to further replies.