How does browser download the documents in onlyoffice server? And is there a size limit?

Document Server version:6.1
Type of installation of the Document Server:docker

I know that the doc in the form of “Editor. bin” exists on the server . But how does the browser download the doc to page? Socket or byte stream? Another question is, How big a doc can we download?

Hello @ycc2333
Please take a look at this title: ONLYOFFICE Api Documentation - Opening File
I hope it will be useful. If I misunderstood your request, please clarify it.

How big a doc can we download?

In general, it depends to your hardware. But there’s default restrict in default.json config file - FileConverter.converter.maxDownloadBytes (default value is 100mb). You can check this information here: Configuring ONLYOFFICE Docs Developer Edition - ONLYOFFICE
This parameter regulates the size of the file which DS can download and open for editing. You can change this value.