Skip to content

Navigation Menu

Sign in
Appearance settings

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

Responses are cached with max-age=10800 #24690

Copy link
Copy link
Closed
@emodric

Description

@emodric
Issue body actions
Q A
Bug report? yes
Feature request? no
BC Break report? no
RFC? no
Symfony version 3.4.0-BETA1

Since upgrading to Symfony 3.4.0-BETA1 fom 3.3.10, suddenly all responses started receiving Cache-Control header with private, max-age=10800, no-cache, private value and a response code 304 Not Modified, which means that responses are cached in browsers for 3 hours and only hard reload with Ctrl+R or Shift+R refreshes the page from backend.

git bisect says that the culprit is #24523. And indeed, reverting the commit in that PR fixes the issue for me, meaning Cache-Control header is back to no-cache, private and the response is 200 OK.

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.