Jump to content

CDN support in 3.2?


Zhana

Recommended Posts

javascript files are not really static as they do work a bit with cookies.
btw this kind of feature isnt must be cdn support,it can also be static data from cookie less domain witch everyone can use without extra costs.

Link to comment
Share on other sites

There's a MaxCDN mod for IPB. But I think with the knowledge of IPS on what can be stored on a CDN, then that would be a wonderful idea for them to include something built in giving the forum owner the most power and speed with their sites.

Link to comment
Share on other sites

It only takes a few small changes to set IP.Board up to use a CDN. Specifically, there are the URL settings in General Configuration, and then a few template changes. I'll see what we can do about getting rid of those template changes.

You'll notice, if you look at the source code here, that we've had a CDN running on the IPS community forums this week.

Link to comment
Share on other sites


You'll notice, if you look at the source code here, that we've had a CDN running on the IPS community forums this week.




Hello Dan,

Just notice that you run the CDN with PHP (http://cdn.invisionpower.com/public/min/index.php) which is not usual.
Will the minified script run in the cdn for 3.2?


Thanks
Link to comment
Share on other sites


Hello Dan,



Just notice that you run the CDN with PHP (http://cdn.invisionpower.com/public/min/index.php) which is not usual.


Will the minified script run in the cdn for 3.2?




Thanks




We don't actually run the CDN, we're using Level3's CDN with a custom alias. Additionally, the PHP does not execute on Level3's CDN servers, it executes on ours, and then the CDN caches the output. As it's the same for everyone, it's safe to do that. :)
Link to comment
Share on other sites


We don't actually run the CDN, we're using Level3's CDN with a custom alias. Additionally, the PHP does not execute on Level3's CDN servers, it executes on ours, and then the CDN caches the output. As it's the same for everyone, it's safe to do that. :)



That's great! If anything, maybe an official guide on how to get everything set up properly so there is no problem with running it on a CDN. I think there is one but I don't believe it said anything about php or even js.
Link to comment
Share on other sites

  • 2 months later...

That's great! If anything, maybe an official guide on how to get everything set up properly so there is no problem with running it on a CDN. I think there is one but I don't believe it said anything about php or even js.




This could be beneficial to some forum owners :)
Link to comment
Share on other sites


Great news in the CDN World ... CloudFiles will be using Akamai and finnaly we will have cnames.



[url="http://www.rackspacecloud.com/blog/2011/01/12/big-news-for-cloud-files-users-akamai-is-coming/"]http://www.rackspace...amai-is-coming/[/url]





Akamai is over rated... I've admin'd some of their colo'd boxes before.. they are not as fancy as you'd think

Link to comment
Share on other sites

Guest Danny Michel

Hey, has anyone posted something on how to enable CDN using MaxCDN. There a paid mod, believe it or not. From what I see here, you guys are saying it's a few edits, so was wondering if you could share the few edits.

Link to comment
Share on other sites

  • 5 months later...

http://community.invisionpower.com/files/file/3851-maxcdn-integration-accelerator-for-ipb-31-32/

3.2 includes CDN support. The only thing that may be a problem is dealing with caching of the profile pictures if the user changes them. If you look at a typical profile picture it would look like this:


You have to interact with individual CDN APIs to do purging of those images from the CDN cache. For MaxCDN, you could also wait 24 hours.. The hook in the link above just interacts with the MaxCDN API to do the purging when necessary.

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.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...