[BUGFIX] Send correct Cache-Control header if no client side caching 93/54793/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:19:36 +0000 (17:19 +0100)
commit589372b9da824e661a23447657b56e7ec66a6c3f
tree2691248e14d912143cac98cefe5c39e3225dfc2e
parent9de7f844d7e60b318949f2d4f361e49abe03b940
[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/54793
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