Skip to content

Navigation Menu

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

Missing cache data in profiler #59838

Copy link
Copy link
Closed
@dcmbrs

Description

@dcmbrs
Issue body actions

Symfony version(s) affected

5.4.x

Description

When we stream response (Symfony\Component\HttpFoundation\StreamedResponse) and use cache in streamed response callback, we don't see this cache used in profiler

How to reproduce

Demo run on this project https://github.com/dcmbrs/cache-stream-profiler and follow up readme on master branch

Possible Solution

Fix Data method lateCollect in Symfony\Component\Cache\DataCollector

Additional Context

In general, the problem seems to occur with everything that happens once the 'kernel.response' event has passed.

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.