A content delivery network (CDN) improves website performance by caching content closer to users worldwide, reducing latency and improving load times.