You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
alquerci
changed the title
[view] [cache] Too restrictive cacheable condition as only HTTP 200 is cacheable
[view] [cache] Too restrictive cacheable condition as only HTTP 200 and GET is cacheable
Oct 18, 2018
alquerci
changed the title
[view] [cache] Too restrictive cacheable condition as only HTTP 200 and GET is cacheable
[view] [cache] Too restrictive cacheable condition as only HTTP 200 and GET are cacheable
Oct 18, 2018
The view cache work well but suffer of a limitation in order to be compatible with HTTP specifications about cacheable status codes and methods.
Expected
On Symfony4 pages with response 200, 203, 300, 301, 302, 404, 410 are cacheable with additional condition on the Cache-Control status.
Be able to cache GET and HEAD methods.
Actual
More Details
See https://github.com/symfony/symfony/blob/v4.1.6/src/Symfony/Component/HttpFoundation/Response.php#L506
The text was updated successfully, but these errors were encountered: