[BUGFIX] Send correct Cache-Control header if no client side caching 94/54794/2
authorŁukasz Uznański <l.uznanski@macopedia.pl>
Mon, 27 Nov 2017 12:20:45 +0000 (13:20 +0100)
committerMarkus Klein <markus.klein@typo3.org>
Mon, 27 Nov 2017 16:11:27 +0000 (17:11 +0100)
commit49fc343cbf3096af3df1bdabea524f4aa0e64a2f
tree4a2ee642f536d8ed4c6bb5c74b8d36fb2f7ce59e
parentc856e042d089b9673c1a682d1da74feb2cb5fc84
[BUGFIX] Send correct Cache-Control header if no client side caching

Add 'Cache-Control: no-store' if conditions allowing client caching
are not met. This change will prevent caching content by browser.

Resolves: #81160
Releases: master, 8.7, 7.6
Change-Id: Ia91a339178b8cd8387706679bbea40ed0d1b0548
Reviewed-on: https://review.typo3.org/54794
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php