asilvas / node-image-steam

A simple, fast, and highly customizable on-the-fly image manipulation web server built atop Node.js
MIT License
170 stars 26 forks source link

How to upload with optimization #58

Closed jialbanc closed 1 year ago

jialbanc commented 6 years ago

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

asilvas commented 6 years ago

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

jialbanc commented 6 years ago

Thanks a lot for the fast reply :)