How files in the cache/files are saved

Hi, I’m developing the version history function, and I found that after a period of time, the previous version data of the file can not be opened, and it shows “loading”.
I found that the reason for this is that the Editor.bin in cache/files will be lost after a period of time, how can I save it?

Hello @zy2625 :wave:

When it comes to the document server cache, it’s important to remember that it clears over time. This process is controlled by the following parameter:
services.CoAuthoring.expire.documentsCron
(Configuring ONLYOFFICE Docs Developer Edition - ONLYOFFICE)

Regarding Document History:
Its implementation is the responsibility of the integrator.

You can find detailed information about how Document History works in our article: Document History.