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
Problem:
If you are using Etag or Last-Modified validation models - it is a big risk of cache overflow.
E.g.: you are updating response every second and as a result update Last-Modified header every second.
The record will be added to cache storage and never will be removed as it has no TTL.
As Etag header is new - record with a new key will be created.
Probable solution:
Remove headers mentioned above from response headers before generating a cache key. E.g. at PrivateCacheStrategy:123
The text was updated successfully, but these errors were encountered:
Avariya
changed the title
Ttl support for cache records
Cache storage overflow
Jul 19, 2017
Problem:
If you are using
Etag
orLast-Modified
validation models - it is a big risk of cache overflow.E.g.: you are updating response every second and as a result update Last-Modified header every second.
The record will be added to cache storage and never will be removed as it has no TTL.
As Etag header is new - record with a new key will be created.
Probable solution:
Remove headers mentioned above from response headers before generating a cache key. E.g. at PrivateCacheStrategy:123
The text was updated successfully, but these errors were encountered: