Skip to content

Responses are cached with max-age=10800 #24690

@emodric

Description

@emodric
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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy