CDN (Content Delivery Network)
Definition
A CDN is a network of servers spread across many locations that caches a website's static files, such as images, CSS, and scripts, and often whole pages, and serves them from the location nearest to each visitor. It cuts load time, absorbs traffic spikes, and shields the origin server from attacks. For an image-heavy store it is the largest speed lever after page design.
Why it matters for your store
A product page is mostly images. Serving them from a server in one data centre to every visitor is slow and expensive; serving them from a cache near the visitor is fast and cheap. The CDN also absorbs the traffic spike when a campaign goes live, so the origin is not the bottleneck at the exact moment sales peak.
A CDN in front of the site also acts as a shield. Denial-of-service traffic, scrapers, and bad bots are filtered at the edge, and the origin's address is never exposed. And it is where HTTPS terminates, which is why certificates and CDN configuration usually come together.
How Kambloo handles it
Every Kambloo store, on a test address or a custom domain, sits behind Cloudflare's network with its web application firewall enabled. Product and content images are stored on Cloudflare R2 object storage and served from a media hostname on the CDN, pre-converted at upload time to AVIF and WebP in five sizes, with a one-year immutable cache so a file is fetched from the origin once.
The storefront's core CSS is one versioned file served from the CDN. For anonymous visitors, whole pages are cached at the edge and purged by tag when a product or its stock changes, so a cached page is never stale.
Media bandwidth is one of the resources that define hosting plans, so a store with heavy image traffic chooses a plan by capacity rather than by feature.
Questions about CDN (Content Delivery Network)
Does a CDN help a store whose customers are all in one country?
Yes. Even within Turkey, serving images from an edge location and caching pages takes load off the origin and shortens response times. The CDN also filters attacks and bad bots before they reach the store.
Are my product images served from a CDN on Kambloo?
Yes. Images are stored on object storage and served through Cloudflare's network, pre-converted to AVIF and WebP in several sizes, with long cache lifetimes.