Skip to content

balbaal/image-load-optimized

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ§ͺ Image Load Optimization Experiment

This repository contains a series of experiments focused on optimizing image loading to improve web performance and user experience.

πŸ” Overview

Modern websites rely heavily on visual content. However, unoptimized image loading can lead to poor performance and slow user experience. This experiment explores different techniques to enhance how images are delivered and rendered in the browser.

πŸš€ Optimization Techniques

The following strategies were tested:

  1. Lazy Loading Images
    Images are only loaded when they enter the viewport, reducing initial page load time and saving bandwidth.

  2. Using Modern Image Formats

    • Implemented .webp and .avif formats where supported.
    • These formats offer significantly better compression than traditional JPEG or PNG without compromising quality.
  3. Blurry Placeholder (LQIP)

    • Displayed a low-quality blurred version of the image while the full-resolution one is loading.
    • Enhances user experience by avoiding layout shifts and perceived lag.

πŸ“Š Results

Coming soon – performance comparison and metrics before and after optimization.

πŸ› οΈ Tech Stack

  • HTML5
  • JavaScript (Vanilla or framework of choice)
  • Tailwind CSS

About

An experiment to optimize image loading performance. Using JavaScript API (Intersection Observer)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published