Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Esi cache broken ? (started session / private response) #26769

Copy link
Copy link
Closed
@EmmanuelVella

Description

@EmmanuelVella
Issue body actions
Q A
Bug report? yes
Symfony version 3.4.6

Hello,

I just finished upgrading from Symfony 2.8 to 3.4.6, and my http cache is broken when using AppCache (without debug).

It seems that since this PR, when the session is started, the response cache is set to private, which is fine.

But now when I go to a page where session is started and where I do render_esi(controller('MyBundle:Controller:action')), http cache is not working as before, because subrequests responses are made private even if I don't start / use the session.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.