Skip to content

Recently saved PDF forms look empty due to caching #1216

@c-beuschel

Description

@c-beuschel

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions