Project

General

Profile

Actions

Bug #88178

closed

Page cache is deleted, when an uncached (Extbase) Plugin performs a redirect

Added by Helmut Hummel about 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Frontend
Target version:
-
Start date:
2019-04-19
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

There is a legitimate case that a plugin performs a redirect (sends Location header).
Usually such plugins are defined as uncached.
Uncached plugins are called, even when the rest of the page remains cached.

With the change applied for #83755 any redirect performed by such plugins, leads to the complete page cache being deleted.

On a side note (and the reason I ran into this), rendering frontend pages on CLI with the goal to warm up the cache is not possible any more after this change,
because http_response_code() always returns false when called from cli SAPI.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #83755: Extbase TYPO3\CMS\Extbase\Mvc\Controller\AbstractController->redirectToUri() – remove HTML redirect?Rejected2018-02-02

Actions
Actions

Also available in: Atom PDF