Courses / Deploy a Multi‑Region Static Site on AWS
Lesson 6 of 9

Cache‑Control & Cost Optimization

▶

Video by Gaurav Sharma on YouTube · 10 min. We did not make this video and we do not host it — watching it here still counts as a view for the creator.

The video explains adding Cache-Control metadata to objects (e.g., max‑age=31536000, public). Beginners often set no‑cache, which defeats the CDN and raises costs. Use long max‑age for assets that change rarely, and a shorter one for HTML.

In a live project you’ll balance freshness with cost. Also, enable CloudFront’s "Compress Objects Automatically" to reduce bandwidth usage.

Start learning free

Sign in with your email, Google or GitHub. No password to remember. The same account carries your progress, your certificates and anything else you do with Nexgino later.

Sign in to continue

It takes about fifteen seconds.