CDN for an Auto Upholstery Site: Faster Images, Better Google Rankings

An auto upholstery website relies on dozens of project photos: interior retrimming, soundproofing, and detailing. Each service page carries 5–⁠10 high-resolution images. All of them were served from the same VPS as the application itself.

Challenge

The site runs on Next.js with a heavy image payload hosted in a single data center. A visitor in Novosibirsk had to download every photo from Moscow, and PageSpeed flagged image delivery as a bottleneck. We set out to fix it cleanly.

Before

What We Built

1. S3 Object Storage

We moved all image assets to Beget S3 cloud storage. Media now lives separately from the application server, freeing up VPS resources and making future hosting migrations independent of media files.

2. CDN Layer Over S3

We enabled Beget CDN on top of the S3 bucket. Edge nodes across the country serve each image from the closest point of presence, so a visitor in Novosibirsk fetches photos locally instead of pulling them from Moscow.

3. Application Integration

We implemented a cdnImage() helper that rewrites image URLs to the CDN domain across blog posts, service pages, and the home page. If the CDN environment variable is unset, the app falls back to serving directly from origin. Switching takes a single line in .env.

Results

Images are served from the nearest CDN edge node, and the application server no longer wastes bandwidth and I/O on static media. More importantly, this directly supports organic search performance.

Why This Matters for SEO

The client asked why a CDN matters if the site already loads. Here is the technical reason.

Google uses Core Web Vitals as a ranking signal across three metrics: LCP, INP, and CLS. For an image-heavy website, LCP (Largest Contentful Paint) is critical. It measures how fast the largest visible element renders, which is usually the hero or service photo. A CDN shortens image delivery time and brings LCP down.

Faster pages also improve user behavior signals: visitors stay instead of bouncing on slow connections. That effect is even stronger on mobile, and Google uses mobile-first indexing.

A CDN is not over-engineering. It directly affects where a media-rich site ranks in search.

Want Similar Results?

Message @eldarmarketing to discuss your project.

Need a similar solution?

Describe your situation and we will outline how to adapt this approach to your business. Free 30-minute call.