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.
Questions tagged [cdn]
317 questions
5
votes
3 answers
Redirect apex domain HTTPS requests without manually provisioning a certificate
I'm trying to host a static website on Azure storage with a custom domain and HTTPS.
I have created a storage account, uploaded my files, and enabled static site hosting. The site works nicely from the .web.core.windows.net domain provided by…

ChrisGPT was on strike
- 151
- 5
4
votes
4 answers
AWS S3, CloudFront, web font CORS error
I've just moved from my previous CDN to CloudFront for two of my websites. First one is working fine but I used the same snapshot in DigitalOcean to create the 2nd site and here I am getting
Access to Font at
…

Ariful Haque
- 171
- 1
- 2
- 6
4
votes
2 answers
Do CDN providers run their own DNS servers?
In order to have efficient CDN, it needs to direct requests to the server nearest to the requester.
How do they do that? Do they run their own DNS server that, when asked to resolve an address, it the geo lookup of the requester IP and returns the…

Bozho
- 819
- 1
- 7
- 13
4
votes
1 answer
Setting up CloudFront CDN on a cookieless root domain
I have recently set up an AWS S3 bucket for my site's static content, along w/ a CloudFront distribution for my CDN. I have this working using a sub-domain.
However, after running YSlow, I realized that cookie data is still getting passed to my…

Jerad Rose
- 303
- 1
- 5
- 12
4
votes
6 answers
How to upload files from Amazon EC2 server to S3 bucket?
What is the default way to upload files from a EC2 web server to a S3 bucket for content delivery?

John
- 123
- 2
- 2
- 4
4
votes
1 answer
scalability: when to use CDN?
i've read about CDN but dont know exactly what it is for.
lets say i've got an international social network (text and image content), and it's growing in traffic from different countries, do i have use of CDN?
the picture i got from the sources i've…

ajsie
- 1,215
- 4
- 20
- 28
4
votes
2 answers
Etag configuration with multiple apache servers or CDN / How does Google do ETags?
I have an application which is served from two apache2 servers and I want to configure the ETags on static content. In the future I would also like to use a CDN. I see that this is supposed to be a problem because the Etag information will be…

perrierism
- 179
- 3
- 9
3
votes
2 answers
Using CDN like Cloudflare with mod_rewrite to save bandwidth
I know CDNs like Cloudflare save bandwidth by caching static files as images, JS, and CSS files.
I have a script that generates images on the fly and its location looks something like this:
http://domain.com/image.php?id=1
With id being the image…

Michael Samuel
- 175
- 1
- 7
3
votes
1 answer
Azure File Storage & CDN
I have a stage account with files. It is also configured as a share, and is mounted on a Linux server. This part works as expected.
URL to test file in Storage Accounts:
https://[CUT].file.core.windows.net/media/test.txt
When attempting to load the…

djdy
- 583
- 2
- 4
- 15
3
votes
4 answers
Does Amazon S3 have "sub-directories"? (Rackspace Cloudfiles does not)
In Rackspace, all the "buckets" are one level.
Buckets cannot be inside other buckets.
This makes it very hard for ORGANIZATION!
Edit: does anyone have any suggestions on which one to use...for best organization!?
If no sub-buckets , are there any…

Alex
- 8,471
- 26
- 75
- 99
3
votes
2 answers
How do I objectively compare the performance of different CDNs?
Is there a way that I can objectively compare the performance of different CDNs? Will I need to purchase a plan and test it out myself?
David Andersson
3
votes
1 answer
Impossible to serve WebP images using CloudFlare?
I want to optimize some images on my site using WebP format.
Webp images are highly compressed jpegs and pngs with the help of algorithm developed in Google.
However, webp images can be displayed only in modern Chrome and Opera.
If browser supports…

yivo
- 151
- 5
3
votes
1 answer
CloudFront CDN breaks due to DirectorySlash behavior of Apache
My CDN domain is set to www.mysite.com, and it reads from origin.mysite.com. mod_dir is enabled on apache, and so any request without a trailing slash is redirected with a 301 to the equivalent URL with a trailing slash.
The issue is that when…

merlinbeard
- 31
- 4
3
votes
1 answer
How to do 'naked domain aliasing' like DNS hosts that support it?
My goal is to use GitHub Pages and also benefit from their CDN, without having to use a third-party DNS host that supports DNS ALIAS record types (or ANAME - neither are accepted standards). I want to know how they do it, can anyone explain…

Tom Brossman
- 301
- 4
- 13
3
votes
2 answers
How long does azure cdn live before updating
I am using the windows Azure CDN,
And not like Amazon's one cannot configure any TTL regarding the files,
I was wondering if there is any official document microsoft had regarding to the Time-to-live of the cdn content until it is being update ?
Or…

Matan L
- 191
- 2
- 11