8000 HttpCache should provide `Last-Modified` for ESI responses when possible · Issue #41666 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
HttpCache should provide Last-Modified for ESI responses when possible #41666
Closed
@mpdude

Description

@mpdude

Currently, ResponseCacheStrategy will always remove the Last-Modified header when merging ESI responses. This makes it impossible to revalidate the result.

My suggestion is to keep the maximum = most recent Last-Modified value on the final response as long as all (sub-)responses provided Last-Modified.

Does that make sense? Why not? Am I missing edge cases?

Ping @dbu and @Toflar since I know you're familiar with HTTP Caching, and @aschempp since you wrote a good amount of the code involved.

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