Preview showing cached version with Varnish in Acquia Cloud

Created on 3 February 2025, 2 months ago

Problem/Motivation

Visitors accessing the site with a preview link are served cached content from Varnish.

Steps to reproduce

Reproduction requires an environment with Varnish configured. This is reproducible in Acquia Cloud.
1) Generate a preview link for a workspace
2) Access the preview link in an incognito or non-logged in browser

You will be served whatever version of the page is cached.

Proposed resolution

Consider having the preview controller set other cookie values / a session cookie to bypass cache.
Recommend VCL configuration that can act on the wse_preview cookie parameter.

🐛 Bug report
Status

Active

Version

2.0

Component

Workspace Preview

Created by

🇺🇸United States jerdavis Minneapolis, MN

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024