Document server, cache javascript files

Post Reply
Posts: 12
Joined: Wed Mar 01, 2017 10:14 am

Document server, cache javascript files

Post by dcolaco » Mon Sep 04, 2017 3:57 pm


When onlyoffice is opening there are somo javascript files loaded from the document server, example "{host}/2017-02-03-11-13/fonts/odttf/ef3g1amcm7bg65drf348e3o.js"
These files have 'expires' header before current time so they are always downloaded, i would like to cache this files.

First, i'm having trouble location these files, i'd appreciate if you could provide their default location
Second, i'd like to add a rule to nginx so javascript files and other static content are cached by the user browser.

Can you help?

Thanks in advance
network.png (48.11 KiB) Viewed 1031 times

Posts: 1844
Joined: Tue Oct 11, 2016 2:34 pm

Re: Document server, cache javascript files

Post by Maxim » Wed Sep 06, 2017 7:07 am

Hello dcolaco!
These files must be cached by default. We tried to reproduce the issue but have no luck.
Possible reasons:
- the user in the debugger is not allowed to cache
- the server works through a proxy that "spoils" the headers associated with caching

Post Reply