Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 817 Bytes

README.md

File metadata and controls

27 lines (16 loc) · 817 Bytes

What is it?

Simple image optimization server that efficiently resizes and converts images to high-quality, modern formats such as AVIF for improved website performance

Installation

Fork and deploy on Vercel

Usage

Get the optimized images from the following GET request

your-domain.com/ie/{url-of-image}?width={width-of-image}&format={format-of-image}

Default width is 368px and format is AVIF

Further Optimization

You can add Cloudflare like services between your origin and clients to cache optimized images

Limitations

  1. Limited options
  2. Can't convert large images to given image format (like AVIF). You have to send smaller width param as Vercel's serverless functions run for 5sec only
  3. This project has less stars 🤔