May 11, 2010 in Classic self-hosted technical help
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
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?
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!
Also you can check my article on off-loading your static files to another vps sitting on nginx;
Thanks for those responses guys, will have a look at what you suggest :)
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?.
The way it's done can be a bit different per CDN, possibly take a look at Akamai for example
This topic is now archived and is closed to further replies.
Started November 20
Started 1 hour ago
Spike One Degree
Started 1 hour ago