I
I
IvanN7772016-10-14 11:42:23
PHP
IvanN777, 2016-10-14 11:42:23

When uploading a large file, is it correct to use module nginx file upload or is js on the client sufficient?

resumable2/resumable.js transfers the file in chunks
. For example, uploads large files.
There is a package for it
https://github.com/dilab/resumable.php
There is a download on the server through the module nginx file module.
I don't understand what is the best way to use it.
Why is the loading module built into the server at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
evnuh, 2016-10-14
@IvanN777

Because writing 10 lines to the nginx config is much faster and easier and more reliable. Yes, and it will work a little faster. And then there are those who do not have a backend at all, only nginx.
If you need tricks when loading, such as progress or filtering and post-processing of files, then you cannot do without a backend.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question