[BUGFIX] Send correct Cache-Control header if no client side caching 88/54788/5
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:02:24 +0000 (17:02 +0100)
commitae1f028929b1d6e0ca0328b3ac12251412301584
tree66317b54cfac89d7e29e809d4b45be1999f76744
parent03b08c7e18c0e481fe39cbac9c8eb130e9bb0ada
[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/54788
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Pawel Cieslik <p.cieslik@macopedia.pl>
Tested-by: Pawel Cieslik <p.cieslik@macopedia.pl>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
typo3/sysext/frontend/Classes/Controller/TypoScriptFrontendController.php