Problem/Motivation

When the PreviewController is redirecting user to the frontend application, the redirect response is cached in certain cirtumstances. If the data changes, the sub-sequent request might provide the stale data to the user.

Proposed resolution

Make the response, that the PreviewController returns, non-cacheable.

CommentFileSizeAuthor
#4 uncached-preview-response-3479402-3.diff1.09 KBmaijs

Comments

maijs created an issue. See original summary.

maijs’s picture

Title: The preview redirect is cached » The preview redirect response is cached

maijs’s picture

Status: Active » Needs review
StatusFileSize
new1.09 KB

The patch sets the cache max-age to 0 on the preview response.

  • maijs committed 87cdaa70 on 8.x-7.x
    Issue #3479402 by maijs, artis.bajars: The preview redirect response is...
maijs’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.