Read article: Symfony Silently Kills Your HTTP Cache When a Session Starts
7 minutes reading
Your API Platform cacheHeaders say public, Symfony replies private, max-age=0. Blame AbstractSessionListener at priority -1000 — and its documented escape hatch Symfony-Session-NoAutoCacheControl.
Read more : Symfony Silently Kills Your HTTP Cache When a Session Starts