#102527Prevent workspace preview ?ADMCMD_prev from cach
Description
URLs with ?ADMCMD_prev parameter should not be cached.
To reproduce:
1. Make sure caching is activated.
2. Clear the cache.
3. In the draft environment make some changes on an already existing page e.g. edit a text.
4. Create a preview link like …./?ADMCMD_prev….
5. Call the preview link with a browser where you are not logged into TYPO3.
6. Call the URL with another browser where you are also not logged in without the ?ADMCMD_prev parameter – You will get the Workspace version, not the live version.
I’ve tested this also with TYPO3 Version 10 where it worked as it should, in 12.4.8 not.
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.
Related issues 3
- Bug #96621Visiting the workspace preview of a page makes all pages "workspace version" even without the "?ADMCMD_prev=..." part
- Bug #102216Workspace link preview (via "generate page preview links") of disabled page leads to 404 error
- Bug #110602Prevent TypoScript-->Functions-->cache poisoning by Page-Preview
History 5
-
Riccardo De Contardi changed Related to #96621 <span data-processor="relativetime" data-value="2025-03-28T11:31:31+00:00" > 03/28/25, 11:31 </span>
-
Georg Ringer changed Related to #102216 <span data-processor="relativetime" data-value="2026-08-14T08:01:43+00:00" > 08/14/26, 08:01 </span>
-
Ayke Halder changed Related to #110602 <span data-processor="relativetime" data-value="2026-09-02T12:47:49+00:00" > 09/02/26, 12:47 </span>
-
Benni Mack commented and changed status
NewNeeds Feedback <span data-processor="relativetime" data-value="2026-11-09T18:24:43+00:00" > 11/09/26, 18:24 </span> -
Benni Mack changed status
Needs FeedbackClosed <span data-processor="relativetime" data-value="2026-11-13T18:19:34+00:00" > 11/13/26, 18:19 </span>
Re-checked on main (v15): could not reproduce. A request with a valid
Two possible explanations for what you saw:ADMCMD_prevlink sets thefrontend.previewaspect, which disables the page cache. A following request without the parameter from a different browser gets the live content (verified with a functional test).stdWrap.cache/cache.keywas written during preview. Fixed by #110602.If you still see this on a current version without such a layer, please add your TypoScript cache configuration. Otherwise we’ll close this.