Closed markusa86 closed 1 year ago
Hey @markusa86 , I checked the core and there is no "ADMCMD_prev" cookie that is used or set by the core. I think it is only a query parameter and Query parameter result in a skipped StaticFileCache. Regards, Tim
Hey @lochmueller, see here :) * - evaluate ADMCMD_prev as GET parameter or from a cookie
TYPO3 sets the cookie only in preview Mode.
Hey @markusa86 good point. I add this to the htaccess file example/documentation. Thank you, Tim
Bug Report
If I send a workspace Preview link to an user, staticfilecache ignores the cookie "ADMCMD_prev". The user gets the cached value instead of uncached version. TYPO3 sets this cookie to get the workspace version on the whole website, if a user navigate on the website.
Middleware and htaccess. In htaccess only the Rule:
RewriteCond %{HTTP_COOKIE} !ADMCMD_prev [NC]
is missing afterRewriteCond %{HTTP_COOKIE} !staticfilecache [NC]
Environment
Regards, Markus