I am confused the differentiation between redirect mode and proxy mode in active storage
CodePudding user response:
referencing: Active Storage Overview
In all use cases of the words, the meanings of "redirect" and "proxy" have a similar meaning:
- redirect: "do it yourself"
- proxy: "okay, I'll do it for you"
if you use the "redirect" option, then the users browser will do the work of sending the file to the remote storage.
if you use the "proxy" option, then the ruby server will do the work of sending the file to the remote storage.
does that help?
