CDN
Definition
A Content Delivery Network (CDN) is a distributed network of servers that work together to deliver internet content quickly and efficiently to users based on their geographic location. CDNs cache content such as web pages, images, and videos at various edge locations around the world, reducing latency and improving load times. They also provide additional benefits like enhanced security through DDoS protection and improved availability by distributing traffic across multiple servers.
Secure Settings Example
cdn:
https: true
tls_version: "TLSv1.2"
hsts:
enabled: true
max_age: 31536000
include_subdomains: true
cors:
allowed_origins: ["https://example.com"]
allowed_methods: ["GET", "POST"]
caching:
cache_control: "max-age=3600, must-revalidate"
Insecure Settings Example
cdn:
https: false
tls_version: "TLSv1.0"
hsts:
enabled: false
cors:
allowed_origins: ["*"]
allowed_methods: ["*"]
caching:
cache_control: "no-cache"