# When a CDN helps and how to add one

> A CDN serves files from a location near the visitor and absorbs traffic spikes. Cloudflare's free plan is enough for most sites.

Best practices · HTML version: https://getreport.app/learn/cdn

## CDN in front of the site

Passing looks like: A CDN is in front of the site.

**Why it matters.** A CDN serves your files from a location near each visitor and absorbs traffic spikes. Without one, visitors far from your server wait longer for every file.

**How to fix it.**

1. Put the site behind a CDN such as Cloudflare, Bunny or Fastly; the free tiers cover most small sites.
2. At minimum, serve images and static files from a CDN hostname.

Check your own page: https://getreport.app/
