Mobile app version of vmapp.org
Login or Join
Mendez628

: Looking for a CDN Most of the CDN's that I've seen require you to upload your content in advance. I'm looking for a CDN that, upon receiving a request for a resource it hasn't seen, will

@Mendez628

Posted in: #AmazonCloudfront #Cdn

Most of the CDN's that I've seen require you to upload your content in advance. I'm looking for a CDN that, upon receiving a request for a resource it hasn't seen, will contact my application server. If the application server returns something, it should be sent to the user and then cached in the CDN. If not, it should just return a 404. If the user requests an unexpired item, the CDN should just serve it without bothering my app server.

Does anything like this exist? Is there a way to get Cloudfront to work like this?

10.07% popularity Vote Up Vote Down


Login to follow query

More posts by @Mendez628

6 Comments

Sorted by latest first Latest Oldest Best

 

@Jessie594

You can find more about Origin Pull providers also in discussion at StackOverflow. AFAIK most of pay-as-go CDN providers, as CDN77.com or Maxcdn, has this feature as the simpliest and standard one. It is quite easy for configuration as there is no need for any downloads, just preset directly on CDN.

Something about it also on it here.

10% popularity Vote Up Vote Down


 

@Sent6035632

Yes, Cloudfront will do this quite easily. I used it to offload 2/3 of our server image traffic.


Set up Cloudfront with a Custom Origin pointing to your web server.
Set up a cname in your dns entries that points to the assigned Cloudfront server.
Then send all your image requests to your cname server with the path to image on your web server.


Requests to images on your web pages like example.com/images/thisimage.jpg becomes a request to media.example.com/images/thisimage.jpg and Cloudfront does all the rest by pulling the image and serving subsequent requests.

10% popularity Vote Up Vote Down


 

@Courtney195

Akamai will do this for you.....

10% popularity Vote Up Vote Down


 

@Annie201

AS mentioned, you want "origin fetch" services from a CDN. SimpleCDN, MaxCDN, Voxel, CacheFly and others offer this at the low end with contract-less pay-as-you-go options. See here for a list of many of these smaller CDNs.

As for the big boys, Level3, Akamai, and Limeleght offer this with contract-based terms.

10% popularity Vote Up Vote Down


 

@Samaraweera270

You're looking for the Coral CDN, basically. It's dead easy to use, and free!

10% popularity Vote Up Vote Down


 

@Shanna517

The technology you're looking for is called Origin Pull. I'm not sure about Cloudfront specifically, but most CDNs are able to offer this.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme