Project

General

Profile

Actions

Bug #81160

closed

Major problem with config.sendCacheHeaders

Added by Aimeos no-lastname-given over 7 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
Caching
Target version:
Start date:
2017-05-07
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
7.0
Tags:
Complexity:
Is Regression:
Sprint Focus:
On Location Sprint

Description

Hi all

We've discovered a major problem in TYPO3 standard installations (all versions) due to a wrong interpretation of "Cache-Control: private": https://docs.typo3.org/typo3cms/TyposcriptReference/Setup/Config/#sendcacheheaders

Contrary to the documentation, "Cache-Control: private" does NOT tell the browser to avoid caching! Instead, it says "browsers can cache the page but proxies should not" (https://developers.google.com/web/fundamentals/performance/optimizing-content-efficiency/http-caching#public_vs_private)

This leads to situations where browsers show old content to users. There are even situations where requests never hit the server, like orders in online shops not being created in the database. The correct default setting to avoid that must be "Cache-Control: no-store"

Actions #1

Updated by Łukasz Uznański about 7 years ago

  • Sprint Focus set to On Location Sprint
Actions #2

Updated by Gerrit Code Review about 7 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54788

Actions #3

Updated by Gerrit Code Review about 7 years ago

Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54788

Actions #4

Updated by Gerrit Code Review about 7 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54788

Actions #5

Updated by Gerrit Code Review about 7 years ago

Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54788

Actions #6

Updated by Gerrit Code Review about 7 years ago

Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54793

Actions #7

Updated by Gerrit Code Review about 7 years ago

Patch set 1 for branch TYPO3_7-6 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/54794

Actions #8

Updated by Łukasz Uznański about 7 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #9

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF