Skip to content

devisscher/optima

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image optimizer for s3

This app will get all objects(1000) that are .jpg or .png resize them and put them back.

Why? Because large images take a long time to download. By resizing them, you can reduce page load time for pages where the bucket images are served to.

  1. fill out example.config.js and rename to config.js.

  2. Install dependencies

npm install
  1. Run start script
npm start

How it works

It adds a compressed=true key value tag to each object. If you run the script more than once on a bucket, it will only compress items that don't include this key value pair.

Screenshots

Demo

About

Image Optimizer for S3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages