[英]I can't understand what is the difference between Redirect mode and Proxy mode in rails
I am confused the differentiation between redirect mode and proxy mode in active storage我对主动存储中重定向模式和代理模式之间的区别感到困惑
referencing: Active Storage Overview参考: 活动存储概述
In all use cases of the words, the meanings of "redirect" and "proxy" have a similar meaning:在单词的所有用例中,“重定向”和“代理”的含义具有相似的含义:
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.如果您使用“代理”选项,则 ruby 服务器将完成将文件发送到远程存储的工作。
does that help?这有帮助吗?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.