files_pdfviewer icon indicating copy to clipboard operation
files_pdfviewer copied to clipboard

Recently saved PDF forms look empty due to caching

Open c-beuschel opened this issue 7 months ago • 0 comments

Steps to reproduce

  1. Open an PDF form in Nexcloud PDF Viewer 4.0.0 with Microsoft Edge (Version 137.0.3296.52 on Windows 11)
  2. Fill in the form, save and close the File
  3. Open the file again

Expected behaviour

The changes made should be visible.

Actual behaviour

The document is in the state it had before saving. Recently made changes aren't visible.

Analysis shows, the document was saved to the server, but the browser loads an older version of the document from its cache instead of loading and opening the newer, changed version from the server. Reloading [Ctrl] + [R] keeps the old version of the PDF document. A forced full reload [Ctrl] + [Shift] + [R] shows the correct, recently saved version of the PDF document.

The problem doesn't occur with Firefox (Version 128.10.0esr). We did no tests with any other Chromium based Browser or Safari.

Server configuration

Web server: Apache

Database: Maria

PHP version: 8.3

Nextcloud version: 31.0.5

Browser

Browser name: Microsoft Edge

Browser version: 137.0.3296.52

Operating system: Windows

c-beuschel avatar Jun 04 '25 14:06 c-beuschel