asilvas / node-image-steam

A simple, fast, and highly customizable on-the-fly image manipulation web server built atop Node.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to upload with optimization

jialbanc opened this issue · comments

commented

I want to know how the images uploading process work, as it is described in your docs. Thanks for your help.

Hi @jialbanc -- images are not uploaded to isteam. Instead isteam acts as a reverse proxy, pulling the assets from the origin storage you've configured. The cached assets that isteam generates to avoid unnecessarily reprocessing images is stored in the cache you've configured; or if none specified, will use the root storage where the original assets live. In other words, you upload images to your storage the way you already do today.

Available storage clients: https://github.com/asilvas/node-image-steam#bundled-storage-clients

commented

Thanks a lot for the fast reply :)