neos-development-collection icon indicating copy to clipboard operation
neos-development-collection copied to clipboard

Backend requests to pending workspace changes cached

Open aertmann opened this issue 7 years ago • 0 comments

Description

The call to check for pending unpublished changes (and possibly others) are made as a GET request, but doesn't indicate that the response cannot be cached. So if the web server is configured to send cache-control headers for all application/json requests, then it won't work as expected.

Steps to Reproduce

All calls to /neos/service/workspaces-rpc/get-workspace-wide-unpublished-nodes

Expected behavior

Either a non-cacheable request method (POST) or sending a no-cache cache-control header.

Affected Versions

Neos: 2.3 – master

aertmann avatar Nov 06 '17 20:11 aertmann