neos-development-collection
neos-development-collection copied to clipboard
Backend requests to pending workspace changes cached
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