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
0
votes
1 answer
How to set correct Content-Type HTTP header for all files uploaded on S3 bucket?
What is please the correct way to set Content-Type HTTP header for files uploaded on S3 bucket? We use S3 bucket as an origin server for hosting static websites. Bucket is accessed through the Cloudflare CDN.
After copying the files, the…

STeN
- 1
- 1
0
votes
1 answer
Google Cloud CDN / DNS questions
Does google cloud dns support auto renewing wild cards and also, geographic location responses.
How does google CDN map the request to the origin and is there a limit on the number of domains we can use.

Wayne Junior
- 13
- 2
0
votes
0 answers
Direct Server Return software and configuration for mesh network of raspbery pi servers
I don't know much about DSR technology but as I am aware both load balancer and servers need to be behind same router because of virtual IP addresses.
I need solution to have cloud-based geo-based load balancers which will receive request with some…

Dejan Milosevic
- 133
- 3
0
votes
0 answers
Trouble getting NGINX to serve static content for specific directory from CDN via proxy
I would like to serve static files from my remote CDN URL:
https://my.cdn.com/project/files/2023/01/some_image.png
https://my.cdn.com/project/files/2021/04/some_file.txt
These need to be reached via proxy from my website URLs (without redirecting)…

Ren
- 11
- 2
0
votes
1 answer
CDN Rerouting on 404 (file not yet in synch with original storage)
Here is the problem. I've setup my app(on EC2) to store uploaded images directly on Amazon S3. I'd like to be able to serve static files(cdn) from my 'home' server so I wrote script that does sync from S3. But there is a window of (at least) one…

Alan Ristić
- 3
- 3
0
votes
1 answer
Rails 6 - Understanding AWS Pricing for CDN video on demand application
I am working on an Rails 6 application, already on production which is heavily dependent on AWS Services like S3, Lambda, Cloudtrail, SNS and CDN to serve a video-on-demand app, where users can upload large videos and view and share it with…

Milind
- 101
- 2
0
votes
1 answer
Load balancing on multiple servers
first of all I am very new to the subject and the headline maybe wrong but here is what I would like to achieve:
Currently I have web server as origin which all clients connect to but as you can guess this is a very basic setup with no redundancy…

Sirwan Shams
- 1
- 1
0
votes
0 answers
iptables: what's the best way to block hackers attacking our site via our CDN IP address
We are using fail2iban on Ubuntu 18 to detect bad login attempts and ban the IP addresses which try too many times. We use iptables for the IP blocking.
After using it for a while we noticed that some of the bans do not work - some IP addresses are…

Foliovision
- 101
- 3
0
votes
0 answers
Image Storage Options In AWS
In the case of my scenario, The loading issue seems to have been caused by making HTTP requests with no HTTP timeout set to our CDN. The synchronous requests held the page execution for many minutes and then the load balancer timed out the…

samtech 2021
- 81
- 7
0
votes
0 answers
CDN video caching duration
Are there any standards about for how long (days, weeks) do CDNs cache video content?
This other answer suggested that it is only for a short period of time (e.g. 1 day) but that information is almost a decade old by now. For regular (non-video)…

ahron
- 365
- 3
- 14
0
votes
2 answers
Google Cloud CDN setup without subdomain?
After creating load balancer and backend service with Internet network endpoint group
Can i use mydomain.com in google cdn or I have to use cdn.mydomain.com?
Is there any way to use full domain like cloudflare does it?
0
votes
1 answer
Will using reverse proxy negate the effect of CDN?
Goal: Serve a specific sub directory of a domain from a different CDN (cloudfront in our case). We are thinking of utilizing Nginx as a reverse proxy to achieve this.
For example, the following location setting in Nginx, will serve the path…

Suresh
- 101
- 1
0
votes
2 answers
Can CDN caching prevent DoS attacks?
Let's say I use Cloudflare to cache my images, CSS, and JS files. Requests for the HTML content itself still hit my server and an attacker could use that to his advantage.
However, if I tell Cloudflare to cache HTML as well, would a DoS attack be…

dodov
- 141
- 4
0
votes
0 answers
Do CNAME mapping of my subdomain to Sendgrid for link branding using Amazon Cloudfront CDN
I want to have link branding with SSL on my domain example.com, so I created sub-domain abc.example.com, I want this abc.example.com to CNAME to sendgrid.net.
I have done CNAME mapping but it seems abc.example.com is CNAME for…

Shivam Sharma
- 101
- 1
0
votes
2 answers
Are we still limited by TCP Window Size when we want to fully utilize bandwidth from far away servers?
According to this website, as soon as round-trip time is increased, we lose a bit of our real-time capacity throughput to distant servers using default TCP Window size of 64KB.
My network bandwidth is 240mb/60mb down/up. I live in a third-world…

Matuji
- 1
- 1