Skip to content

smokenetwork/imgproxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image Proxy

  • limit image size max width 1024, height 2048
  • limit remote image file size 4MB
  • limit image content types ('image/gif', 'image/jpeg', 'image/png', 'image/webp')
  • normalized url
  • bad link image: return image instead of 500 error
  • header cache (max-age)

pm2

start with pm2

pm2 start src/server.js --max-memory-restart 512M

About

image proxy (node/sharp/libvips)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published