Try the fastest and simplest way to install ONLYOFFICE

Document server, cache javascript files

Document server, cache javascript files

Postby 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 349 times
Posts: 12
Joined: Wed Mar 01, 2017 10:14 am

Re: Document server, cache javascript files

Postby 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
Posts: 1433
Joined: Tue Oct 11, 2016 2:34 pm

Return to Documents

Who is online

Users browsing this forum: No registered users and 2 guests