8000 Esi cache broken ? (started session / private response) · Issue #26769 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Esi cache broken ? (started session / private response) #26769
Closed
@EmmanuelVella

Description

@EmmanuelVella
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

      0