3 ms·
Why not skip the backend completely and just use nginx + cdn? (Have nginx proxy_pass to S3 and image_filter the response) http://nginx.org/en/docs/http/ngx_ht
by Gigablah 12y ago
Why not skip the backend completely and just use nginx + cdn?
(Have nginx proxy_pass to S3 and image_filter the response)
http://nginx.org/en/docs/http/ngx_http_image_filter_module.html http://nginx.org/en/docs/http/ngx_http_image_filter_module.h...
- Peroni 12y agoThe CDN does not have all sizes of images. We use the ondemand resizer+cache because we may modify our website design in the future and need a new image size. Serving the exact image size makes our pages faster to render and saves bandwidth. Plus that image filter is quite limited and doesn't handle compositing.