GithubHelp home page GithubHelp logo

cdn-challenge's Introduction

Boiler Room CDN Challenge

Create a solution using AWS S3 and CloudFront to serve static assets (images and videos), with a focus on performance optimization through differentiated caching strategies based on file types.

Setup

  1. Create an AWS account on Free Tier.
    1. Setup a new AWS S3 bucket configured for static website hosting:
    2. Set the bucket policy to allow public read-only access for all objects.
    3. Upload the example assets to your bucket.
  2. Create a CloudFront distribution with your S3 bucket as the origin:
    1. Create behaviours to cache files according to their type using the path pattern feature:
      1. JPG & PNG: 12 hours
      2. GIF: 24 hours
      3. MP4: 48 hours
    2. Setup 2 response policies that adds headers that instruct the browser how to cache files locally:
      1. JPG & PNG: 24 hours
      2. GIF & MP4: 72 hours
    3. Configure the distribution to support HTTPS

Delivery

Document your setup in a Google Doc:

  • Include demo links for each file type
  • Include screenshots of all relevant config
  • Explain your working

We'll let you know once we have reviewed your work so you can shut the AWS account down.

cdn-challenge's People

Contributors

grylance avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.