Jump to content

VPS + Content Delivery Network - any thoughts?


Recommended Posts

Posted

Hi all, I'm currently hosting our site on a VPS which is great but on my quest for more speed and faster page loading for our visitors I'm thinking about using a CDN alongside our VPS. Now I know we can't actually host the site on a CDN because most can't deliver dynamic content from MySQL or PHP, etc, but my question is simply this. What exactly could we host on a CDN apart from file downloads and images, and would anyone consider this option to have a dramatic effect on the page delivery to the end user?. If not, is there anything we could do with a CDN or a second server that would greatly improve the site's performance?
Thanks in advance
Marko

Posted

OK, if I maybe rephrase my question hopefully someone may be able to comment :)

Let's say I've got a CDN which can replicate my content across to key locations throughout the world, which folders would I be best to replicate?. It goes without saying that any downloads and images folders would be best to replicate, but beyond that? What about things like the cache folder?
Anyone?
Cheers
Marko

Posted

Hi,

I haven't tested my self, but there are paths/url's you can change to accomplish that:
Tools & Settings > System Settings > System > General Configuration (Other URLs and Paths)

Here you can define where your upload are stored, the url to access them and the Image URL too!

Posted

Also you can check my article on off-loading your static files to another vps sitting on nginx;

http://community.invisionpower.com/resources/articles.html?record=471

  • 4 weeks later...
Posted

Your article is great bonesoul, a little more complicated for what I was hoping mind you, but I think if I was going down the CDN route I'd be thinking more along nneves's route. Question is, I've looked at the "Settings: General Configuration" options and am wondering regarding the local paths and URL's. We used to have a CDN but it was purely for downloads, this time I'm looking to have most of our static content served from there, but my question is from a URL this would be something like http://cdn.ourdomain.com and locally it could be anything I guess but I can't enter a local path to another server (i.e. the CDN) so would it simply be a case of say creating another folder on the server (let's call it 'cdncache') and using that path, with that folder being replicated to the CDN?.
Cheers
Marko

Archived

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

  • Recently Browsing   0 members

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