Skip to content

[HttpKernel] HttpCache not handling ttl based invalidation properly #6746

Closed
@lsmith77

Description

@lsmith77

I am debugging a Symfony 2.1 app using the HttpCache and it seems to me that in every request the age remains at 0. imho we need to set a date in the response inside HttpCache::store() before we call write() to ensure that on a subsequent request we can properly compute the age of the response.

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