ONLYOFFICE / Docker-DocumentServer

ONLYOFFICE Document Server is an online office suite comprising viewers and editors for texts, spreadsheets and presentations, fully compatible with Office Open XML formats: .docx, .xlsx, .pptx and enabling collaborative editing in real time.
GNU Affero General Public License v3.0
1.38k stars 475 forks source link

Adding a new font breaks the end-users UI with an existing cache #668

Closed ludovic-montel closed 11 months ago

ludovic-montel commented 11 months ago

Do you want to request a feature or report a bug?

Report a bug.

What is the current behavior?

I can see that the new font files are generated, but :

This results in end-user browsers that do not updated cached version of the font javascript file. So my end-users use their browser cache and bugs appear : when selecting the new custom font in the select box, the UI is broken and very strange.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem.

See above.

What is the expected behavior?

I would like my end-user to have their cache updated, for instance with a hash or a change in the file url.

Did this work in previous versions of DocumentServer?

DocumentServer Docker tag:

7.4.1.1

Host Operating System:

igwyd commented 11 months ago

Hello @ludovic-montel, we know that issue, but still havn't news. I will remind the developers about this. Duplicate of https://github.com/ONLYOFFICE/DocumentServer/issues/329

ludovic-montel commented 11 months ago

Thank you @igwyd for your quick answer πŸ™‚

I hope the developers will find a workaround, I see in the issue you linked in your answer that you tried adding a random string to the file name but there is no details about the problems they encountered so I cannot really help you.

Good luck to them πŸ˜‰

Rita-Bubnova commented 11 months ago

I close this issue. Feel free to comment or reopen it if you got further questions.