-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: using an image url that has a 5mb file, does cors-anywhere transfer 5mb back to client, or does client downloads from the original image hosting server? #389
Comments
CORS Anywhere is a proxy. The destination server sends 5 MB of data to CORS anywhere, and CORS Anywhere forwards the response to the client. CORS anywhere streams the response from the destination server to the client, so the latency (and memory usage on the server) is minimal. |
thank you for the answer! This may be slightly more than what I was asking, but since im hosting this on a free tier with heroku that has a "Network bandwidth is soft limited at 2TB per app per month." besides blacklisting, rate limiting.. say can I abort any request that are asking for data of some arbitrary large file sizes? and just to reconfirm , CORS Anywhere proxy would take 5MB dl from destination server, and 5MB stream back to client. the total network bandwidth used here is 10MB on heroku side of things? thank you |
That's not possible. But Heroku terminates requests after 30 seconds, which would reduce the impact.
Yes. |
No description provided.
The text was updated successfully, but these errors were encountered: