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
Description
At the moment neither stale-while-revalidate nor stale-if-error are supported natively by Api Platform HTTP cache system. These extensions are described in this RFC and supported in Symfony through SensioFrameworkExtraBundle
Description
At the moment neither stale-while-revalidate nor stale-if-error are supported natively by Api Platform HTTP cache system. These extensions are described in this RFC and supported in Symfony through SensioFrameworkExtraBundle
Example
Using this configuration:
or using the cacheHeaders attribute in the entity:
would produce this cache-control:
max-age=0, s-maxage=3600, stale-while-revalidate=15, stale-if-error=30
The text was updated successfully, but these errors were encountered: