Current time: 01-23-2021, 09:12 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to run ENTIRE site (not just images, etc) via CDN?
03-25-2012, 02:42 AM (This post was last modified: 03-25-2012 02:55 AM by Lennie.)
Post: #63
RE: Is it possible to run ENTIRE site (not just images, etc) via CDN?
Very much doubt it and especially not currently. CDN77 has only started this month to put up their website. The basic things in the control panel is now mostly usable.

Have a look at the documentation of the software that is used: (maybe there are slightly differences between OnApp which CDN77 uses and Aflexi but doubt it)

I think it is meant for handling static files.

The webserver software is nginx, here is the documentation of that:

Especially the proxy/cache module:

And extra backend control headers:

I asked support if the X-Accel-Expires was supported, but they didn't tell me it was.

I tried two CDN POPs Amsterdam, NL and Raleigh, US and in both cases X-Accel-Expires did work to control the caching behaviour on the proxy from the server. Still that isn't even close to the same as HTTP-rules of course (!)

There is even an example how nginx needs to be configured to do what you want:

But it doesn't work because something like that doesn't belong in the default configuration of nginx.

Some documentation I found on one of both sites mentioned:

But that seems kind of silly to me, if they are then they are running an old version of nginx or just use that to make it easy to explain to people how efficient it is.

Something else that caught my eye:

"By default, the content expiry of all resources is set to 60 minutes, and it can be changed."

I don't know if it is the expire time for the browser or the CDN POP cache, if it is the later that would kind of defeat the purpose of a CDN.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
RE: Is it possible to run ENTIRE site (not just images, etc) via CDN? - Lennie - 03-25-2012 02:42 AM

Forum Jump:

User(s) browsing this thread: 3 Guest(s)