Questions tagged [cdn]

A Content Delivery Network is used to distribute data to end users of an Internet service. It is typically used for large scale distribution, and employs caching and numerous edge locations to speed up and reduce the bandwidth requirements of the process.

317 questions
0
votes
2 answers

How to cache some requests based on request rate?

We have some super heavy APIs, say /api/heavy, it will slow down our system when peak time, we did some benchmark, if the simultaneous request count is greater than 200, the system becomes slow, and if greater than 600, our system becomes…
Sato
  • 449
  • 2
  • 9
  • 17
0
votes
0 answers

Deliver static content on CDN directly using reverse proxy

I have a CDN which hosts static content (possibly Github pages or CloudFlare, depending on answers). Our server generates dynamically JSON resources. I would like all content to be accessible under the same domain name. i.e.: Client <========> proxy…
AdminXVII
  • 103
  • 5
0
votes
3 answers

Why have content site outside your domain

Why do sites deliver downloads or static content from outside their main domain name ? Obviously if you are using akamai or some 3rd party CDN to deliver your static content, but why would you put your downloads / images in some other domain that…
Martin Beckett
  • 317
  • 1
  • 2
  • 11
0
votes
1 answer

SSL certificate on the CDN and the origin

One of our SSL certificate is about to expire next month. We use limelight CDN and we had provided them certificate when we started working with them. We also use same certificates on our sites. All our sites are hosted on IIS. We have renewed the…
0
votes
1 answer

How to use CDN to accelerate simple video site with PHP dynamic loading video files like Moodle?

I created a site with Moodle, and not very satisfied with the connection speed for video files stored on server. And I know CDN can accelerate the video file loading speed. But I 'm quite new and not familiar with CDN. I simply wish anyone accessing…
0
votes
2 answers

proxy_pass CDN file in NGINX, but get 502 bad request

I am using S3 to store an xml file and use CloudFront to distribute this file. I want to use nginx proxy_pass to locate this file without change my domain name. such as www.mydomain.com/filename.xml The S3 url for that file is :…
cccc
  • 23
  • 4
0
votes
2 answers

Avoid dynamic HTML pages on Amazon CloudFront CDN

I am thinking of using CloudFront distribution as CDN to server my images, css and js. I have a CloudFront distribution setup to point to the same directory in the server where my code is, just changing the subdomain to cdn so it'd be…
0
votes
1 answer

Running multiple domains and subdomains on Nginx with https (SSL)

I have an Nginx install that needs to run on SSL. My server blocks are as follows for this domain, which force the example.com and www.example.com to be routed to https://example.com. server { listen 9.9.9.9:80; server_name…
PKHunter
  • 209
  • 2
  • 3
  • 11
0
votes
1 answer

Correct architecture for a cdn-fronted image resizing api?

I'm building out the api's for a new service, one of which allows image uploads. New uploads will automatically be resized and several versions created and stored remotely (s3 or azure storage). That much is already working fine. Now I'm running…
Geuis
  • 637
  • 3
  • 8
  • 20
0
votes
1 answer

How to use Google Cloud CDN with the Google Blobstore Image Service and Google App Engine?

I'm looking into using Google Blobstore with the Image Service, and possibly Google App Engine for a service I'm building. However, 12¢ per GB outgoing bandwidth is a little pricy. I noticed they have a CDN service with much cheaper bandwidth costs,…
threed
  • 111
  • 5
0
votes
1 answer

How to disable Last-Modified and ETag headers in a static website hosted on S3 + CloudFront?

Background: there are good reasons to want to disable Last-Modified and ETag headers for some website assets: to prevent browsers sending conditional requests (either using If-Modified-Since or If-None-Match, respectively). This is good because…
callum
  • 121
  • 1
  • 6
0
votes
2 answers

Which CDN do you recommend for good organization of files?

I have many projects that need to be organized in sub-buckets and sub-sub-buckets. Which CDN do you recommend? I asked this question earlier, and some people told me to "fake" S3: Does Amazon S3 have "sub-directories"? (Rackspace Cloudfiles does…
Alex
  • 8,471
  • 26
  • 75
  • 99
0
votes
1 answer

How to make amazon s3 files fast from anywhere in the planet?

I'm working on a project with user created content, users basically upload long mp3 files to the server which can then be played by other users. Recently users not from europe reported slow "seek time" and "play time", so i'm wondering how could i…
kroe
  • 1,620
  • 1
  • 10
  • 4
0
votes
1 answer

Log access to cached content by 3rd party

The question is pretty much the same as this one: How to log a request to apache access log if it's cached by Varnish but instead of varnish let's say I am using CloudFlare. Is there any way to get the access logs to my server? Or I depend fully on…
Cesc
  • 191
  • 9
0
votes
1 answer

Can you configure a CDN to cache pages based on the browser language?

Many websites do not have the language or locale set in the URL string. They instead pull this out of the "Accept-Language" HTTP header. Is it possible with CDN's like CloudFlare and CloudFront to cache different versions of the page based on this…
Brian Armstrong
  • 1,617
  • 3
  • 19
  • 22