Questions tagged [cdn]

A Content Delivery/Distribution Network (CDN) caches data at various nodes in a network.

A Content Delivery/Distribution Network (CDN) caches data at various nodes in a network.

11 questions
13
votes
3 answers

Providing Local JS and CSS Resources for CDN Fallbacks

Given that CDNs are a Good Thing because they can serve resources closer to the client, the client can cache them, and you can reduce load on your own server. In recent browsers, loading resources from third-party servers does not decrease security…
4
votes
3 answers

How does a CDN get "data" when there's hundreds of terabytes stored in data centers?

I am still trying to wrap my head around CDN's in a real world scenario. Suppose I am building a Netflix clone. I have about 1,000 terabytes of video content stored in an S3 bucket. Since Netflix is used globally, I'd probably replicate it…
4
votes
1 answer

How to best serve zipped HTML packages to global audience

We have a content authoring tool that creates interactive learning activities (imagine a multiple choice quiz) packaged as self contained zip files that contain an index.html css / js / media assets (inc video). We then create customised courses…
3
votes
1 answer

How to handle static-ish content from a CDN with authentication?

I have a website that allows user uploads of content. Part of the design, to date, involves storing the user content on a NAS that has been configured with a separate app pool in IIS that has scripting disabled, shorter lifespans, no cookies, etc…
Bryan Boettcher
  • 2,754
  • 4
  • 21
  • 31
0
votes
1 answer

How could creating symlinks/aliases to files on S3 work, while still taking advantage of CDN optimizations?

I am trying to imagine a website/system where only 1 copy of a file is ever stored, but multiple users get their own custom link to the file, and it uses the CDN features. For this question we can assume we are using S3 and CloudFront or other AWS…
Lance
  • 2,537
  • 15
  • 34
0
votes
0 answers

Is it bad practice for my server to fetch content from my CDN - rather than S3

I want to run a batch process, processing all the media I'm storing behind a CDN, on S3. I could access S3 directly with my servers S3 credentials, or go via my CDN, thoughts? Using the CDN would be faster, right? But would is the CDN only supposed…
Tobi
  • 220
  • 1
  • 6
0
votes
1 answer

What is the added value of using cache control header on top of CDN for a web application?

I'm a developer on a website which has a server which serves HTML and another server which handles API requests. I use a CDN to cache both the HTML and API responses. I feel that it gives me all the control I need while keeping the cache settings in…
Yos
  • 155
  • 1
  • 10
0
votes
1 answer

Automatically push content to CDN

Here's the thing: we have a website which has some i18n. Translations are maintained in DB and manually exported into JSON files which are consumed by our SPA one time on load. Now I have the following problem to solve: I want to put those i18n JSON…
0
votes
1 answer

Speed up dynamic content delivery

Imagine a website operating from the US, providing some web services to customers around the world. Sometimes is takes up to 200ms just to establish a connection between Australia and US. It's pretty straightforward to accelerate static content…
Oleg Mikheev
  • 131
  • 5
0
votes
1 answer

Content CDNs and dynamic content

I am curious as to how dynamic web applications play with content delivery networks such as cloudflare, amazon cloudfront, etc. I understand the concept of a cdn obtaining a cache of your static pages and then serving those pages from their various…
nullReference
  • 295
  • 5
  • 11
-2
votes
1 answer

Serve static files with a third party CDN but preserve statistics data?

I am building a service that is servicing a lot of audio files. The issue is that I need to keep a record on what files are being accessed. My initial thought was to use BackBlaze B2 with CloudFlare but I don't really know if I will be able to get…
Ms01
  • 117
  • 7