Why your web page is slow (it's almost always an unoptimized image)

Most websites don't suffer from bad JavaScript or slow hosting. They suffer from a single 6MB camera export sitting in the hero banner. Here is why that matters.

By Devdeep 5 min read
Why your web page is slow (it's almost always an unoptimized image)

A couple of weeks ago, a friend asked me to take a look at his new SaaS landing page. He was complaining that the site felt sluggish on his phone, despite being built on a modern framework and deployed to a global edge network.

I opened Chrome DevTools, throttled the network to a standard 4G profile, and hit refresh.

The HTML took 45 milliseconds to arrive. The bundled CSS and JavaScript took another 120 milliseconds. And then the page froze.

Right there in the middle of the network waterfall was a single hero banner image: hero-bg.png. It was 2800 pixels wide, uncompressed, straight out of Figma. The file size was 6.4 megabytes.

On a fast fiber connection in an office, you might not notice. But on a mobile device on an Indian cellular network—moving through a train station, or sitting in a cab between towers—that single image took almost six seconds to finish downloading.

Six seconds of white space while the browser struggled to parse and decode a massive bitmap.


The biggest bottleneck on the modern web

We spend endless hours arguing about JavaScript frameworks, server-side rendering, and database query optimizations. But if you look at the median web page payload according to the HTTP Archive, images still account for nearly 50% of total page weight.

When a website feels slow, nine times out of ten it isn't because the database is lagging. It is because someone dragged a photo directly from their Sony mirrorless camera or a stock photo site, dropped it into their CMS, and called it a day.

Here is what happens behind the scenes when you serve an unoptimized image:

  1. Network delay: A 5MB JPEG eats precious cellular bandwidth. For users on metered data plans or roaming, you are literally costing them money.
  2. CPU and memory strain: Browsers don't render compressed files directly. A 4000x3000 JPEG might be 4MB on disk, but when your phone's browser decodes it into memory, it unpacks into a raw uncompressed RGBA pixel buffer: 4000 × 3000 × 4 bytes = ~48 MB of RAM. On a budget Android phone, opening a page with three such images can cause the browser tab to stutter or outright crash.
  3. Core Web Vitals penalty: Google measures Largest Contentful Paint (LCP) as a core ranking signal. If your hero image takes 4 seconds to render, your SEO ranking quietly drops, regardless of how good your content is.

What does modern optimization actually look like?

Image optimization isn't about running an image through an aggressive slider until it looks like pixelated watercolor. With modern encoders, you can shrink file sizes by 70% to 85% with zero perceptible loss in visual quality.

Here are the three steps that make the biggest difference:

1. Choose the right format

  • JPEG is no longer just JPEG: If you need universal compatibility, standard encoders like libjpeg are outdated. Modern encoders like MozJPEG use trellis quantization to shave 15–20% off file sizes without degrading sharpness.
  • WebP: Supported everywhere now. Typically 25–35% smaller than standard JPEGs.
  • AVIF: The current gold standard for photographic content. Based on the AV1 video codec, AVIF can achieve stunning clarity at half the size of a WebP. That 6.4MB hero banner from earlier? Converted to AVIF with an 80% quality setting, it dropped to 184 kilobytes—a 97% reduction with crisp text and clean gradients.

2. Don't serve desktop dimensions to a mobile viewport

If your blog layout has a maximum content width of 720 pixels, there is zero reason to serve a 3000-pixel image. Resizing the image to match its actual display dimensions is often the fastest win of all.

3. Strip the junk (EXIF and color profiles)

Photos taken with smartphones and DSLR cameras carry dozens of kilobytes of hidden metadata: camera model, focal length, software version, shutter speed, embedded preview thumbnails, and often exact GPS latitude and longitude coordinates. Stripping this metadata saves bytes and protects user privacy.


Why we built TinyRes

Most people know their images are too big, but the tooling is often either too complicated or too predatory.

You either have to:

  • Sign up for an expensive cloud asset CDN and write API integration code.
  • Or use free online tools that cap you at two files, watermark your downloads, or upload your private photos to third-party servers that keep your files for hours.

We built TinyRes to solve this quietly.

It gives you the full control of a professional image server—MozJPEG, WebP, AVIF, smart face-aware cropping, EXIF stripping, and target file budgets (e.g., "keep this under 100 KB")—directly in a browser tab.

Most importantly: it stores zero bytes.

When you drop an image into TinyRes, it is sent over an encrypted connection to our server, processed in system RAM, and streamed straight back to your tab. Nothing is ever written to a hard drive, nothing is logged, and nothing is retained.

A fast website isn't a luxury. It's respect for your reader's time, battery, and data plan. Take five minutes to audit your home page images—your users (and Google) will thank you.

zero bytes stored

Shrink your images right now

Convert to AVIF, WebP or MozJPEG, crop around faces, strip EXIF and hit exact KB targets in your browser.