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
When you are initialising the CachePlugin in server mode (using CachePlugin::serverCache, for example), the s-maxage directive of the Cache-Control header is never taken into account which means that cacheable responses are always cached with the default TTL.
Expected Behavior
The s-maxage directive is used as the TTL for cached responses.
Steps to Reproduce
Send requests to an endpoint where the shared max age directive's value of the Cache-Control header is different than the default TTL. Cache entries will expire after the default TTL.
The text was updated successfully, but these errors were encountered:
Actual Behavior
When you are initialising the
CachePlugin
in server mode (usingCachePlugin::serverCache
, for example), thes-maxage
directive of theCache-Control
header is never taken into account which means that cacheable responses are always cached with the default TTL.Expected Behavior
The
s-maxage
directive is used as the TTL for cached responses.Steps to Reproduce
Send requests to an endpoint where the shared max age directive's value of the
Cache-Control
header is different than the default TTL. Cache entries will expire after the default TTL.The text was updated successfully, but these errors were encountered: