Jump to content

CDN with IPB?


Recommended Posts

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.

Link to comment
Share on other sites


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.
Link to comment
Share on other sites

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!

Link to comment
Share on other sites


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.
Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...