India’s Leading Domain & Web Hosting Provider
Fashion e-commerce brand cuts product-image load time by 61% on mobile
Direct-to-consumer apparel and footwear brand, 45,000 SKUs · India with GCC shipping · 6 weeks
As-is situation
Each SKU carried 8-12 studio photographs uploaded at 5,000 px and served resized on the fly by a Node.js image service on two VMs. During end-of-season sales, the image service hit 100% CPU, product listing pages took 6.2 seconds to render images on mid-range Android phones, and conversion dropped noticeably. Images were cached only in browsers, with query strings like ?v=random breaking any shared caching. Competitors' price-comparison bots scraped full-resolution images, accounting for an estimated 18% of image egress. Product teams kept every historical shoot in one bucket, now 92 TB.
- Listing page image load of 6.2 seconds at p75 on mid-range Android devices
- On-the-fly resizing saturating two VMs during sale events
- Around 18% of image egress consumed by scraping bots
- 92 TB of historical shoots in Standard storage with no retention policy
Selected Google Cloud services and architecture
NTSPL replaced on-the-fly resizing with pre-generated renditions: on upload, an Eventarc-triggered Cloud Run job produces eight widths in AVIF and WebP with a JPEG fallback, written with immutable versioned file names and one-year Cache-Control. A backend bucket behind the global Application Load Balancer serves them through Cloud CDN with a cache key ignoring all query parameters except width. Cloud Armor rate limits and bot rules cut scraping, and originals sit behind signed URLs for the internal studio tool only. Lifecycle rules move past-season shoots to Coldline at 180 days and Archive at two years.
Implementation approach
Measured results
Operational improvements
- Sale-day image incidents disappeared because no compute sits in the image request path
- Catalogue teams upload once and see all renditions within two minutes
- Bot traffic is reviewed weekly from Cloud Armor logs instead of guessed from egress spikes
Cost considerations
Pre-generating renditions trades a one-time Cloud Run cost and roughly 9% more stored bytes for eliminating per-request resizing compute. Long TTLs on immutable URLs pushed hit ratio above 96%, so cache fill is minimal. Lifecycle rules on past-season shoots were preferred over Autoclass because access after a season ends is reliably near zero.
Return on investment
Image delivery and compute costs fell by an indicative INR 3.5-4.5 lakh per month. A/B testing during the next sale attributed a 0.4-0.6 percentage point lift in listing-to-product-page click-through to faster images, worth an estimated INR 2-3 crore in additional annual GMV.