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
1
vote
0 answers
different behaviour per filename and backend routing in NGINX
It's few days i'm bouncing my head on this problem but i cannot find a "elegant" solution.
I would like to use a NGINX server as streaming origin for some live channel to be distributed trough different CDNs.
At a first sight the problem is simple,…

Alex Molon
- 11
- 1
1
vote
2 answers
if I use imperva CDN - can I avoid re-writing the URLs in my site? how does it work?
I understand that part of onboarding a CDN is re-writing all links to static content in my site from www.example.com/my_img.jpg to www.somecdn.com/my_img.jpg.
I learned that from How do CDNs that don't require url rewriting work? and…

ihadanny
- 167
- 6
0
votes
1 answer
Can I add HubSpot's blog as origin in my CloudFront distribution?
Let's pretend example.com is my domain.
I'd like to have:
HubSpot's provided landing page at example.com/
HubSpot's provided blog at example.com/blog/
my website hosted on AWS S3 at example.com/map/
So, I'm thinking about adding HubSpot's origins…

Defozo
- 153
- 1
- 6
0
votes
1 answer
Tornado - transferring a file to CDN
I have the nginx upload module handling site uploads, but still need to transfer files (3-20 MB each, let's say) to our CDN, and would rather not delegate that to a background job. what is the best way to do this with Tornado without blocking other…

matt
- 129
- 1
- 5
0
votes
1 answer
CloudFront - Much higher miss-rate in North America compared to Europe
I'm serving my software downloads from CloudFront. Miss-rate in North America is much higher than in Europe. In America miss-rate is 55.7% while in Europe it's 19.69%.
North America:
Europe:
The CloudFront is configured for "Best Performance".…

Ivan Nikitin
- 149
- 7
0
votes
1 answer
Backend bucket versioning
We have bucket with some files behind the CDN, along with signed URLs. We are using query string with version to update content according to the best practices, e.g. file.ext?v=100.
Everthing worked well until the recent time. The documentation now…

Evgeny
- 1
0
votes
1 answer
Can I use my own SSL for sub domains which are not using Cloudflare HTTP proxy?
I'm using the cloudflare free plan
I have domain.com which will use cloudflare HTTP proxy but i have a subdomain sub1.domain.com which will not use cloudflare's HTTP proxy, can i still use my own SSL and if i go to https://sub1.domain.com will it…

Jeremy John
- 103
- 5
0
votes
2 answers
How does a request gets directed to a nearby CDN edge server?
Let's say I have a website with a domain name, of course. The domain name has:
One A record(example.com) which points to the origin server(or load balancer).
One CNAME record(cdn.example.com) which points to a CDN server.
Now, my question is,…

Ram Patra
- 111
- 4
0
votes
1 answer
Google cloud cdn - unclear cache hit ratio
I'm using google cloud cdn (Load balancer with a backend service) and the hit ration status is not very clear.
In the image below you can see:
Left image - CDN view - Value of cache hit ratio is "n/a".
Right image - Backend service view - upper…

Rot-man
- 327
- 2
- 9
0
votes
1 answer
Almost all the http APIs return a 502 bad gateway error after adding a CDN
I just added my website to a CDN provider https://www.qiniu.com/en. Then I realised that almost all my http APIs (https://www.funfun.ink/httpOnly...) returned a 502 bad gateway error. Additionally, https://47.52.108.146/1/#/home did not work…

Thomas
- 223
- 1
- 3
- 11
0
votes
2 answers
Is there any way to use a Google-managed SSL certificate when using Google Cloud CDN?
This would be similar to AWS Cloudfront which can use a certificate that is generated by AWS for you.
Is there anything like that here?
This would be mostly for cost or ease of use reasons.

Kevin Baragona
- 31
- 1
- 6
0
votes
1 answer
Switch between using / not using CDN
Previously, I have used CloudFlare, where we can switch quickly between "active mode" and "development mode". In "development mode", static files are loaded directly from the origin server rather than from CDN nodes.
I'm now tying Qiniu CDN to speed…

Thomas
- 223
- 1
- 3
- 11
0
votes
0 answers
403 forbidden error after adding a CDN
Previously, http://www.funfun.org.cn worked in my browser.
Then, I decided to add a CDN on top of it. So I added a CNAME for www.funfun.org.cn to funfun.org.cn.w.kunluncan.com. As a result, ping www.funfun.org.cn showed well
PING…

Thomas
- 223
- 1
- 3
- 11
0
votes
1 answer
How does "Disable cache" work?
I have a website managed by CloudFlare and its CDN.
when we choose Disable cache in Dev Tools of Google Chrome like here, by definition the browser refreshes static files.
However, I would like to know whether the browser refreshes static files…

Thomas
- 223
- 1
- 3
- 11
0
votes
0 answers
CloudFront HTTP/2 slower (high TTFB) than HTTP/1.1
My site was running on HTTP/1.1 with CloudFront at front, Webpagetest reports the load time usually at 2 seconds. Yesterday I enabled HTTP/2 (and SSL) on CloudFront, expecting to see an improvement. The result is, on the opposite, it becomes…

Edward
- 101
- 3