Skip to content

HTTP/1.0 and caching #4681

Closed
Closed
@pulzarraider

Description

@pulzarraider

Symfony sends cache-control: no-cache header by default. This make HTTP/1.1-compatible client and (correctly configured) reverse proxy not to cache the response.
But if a client supports only HTTP/1.0 protocol, the cache-control header will be ignored. To prevent caching page in HTTP/1.0 protocol, Symfony should send also Expires or Pragma headers by default.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueIdeal for your first contribution! (some Symfony experience may be required)HttpKernel

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions