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 I add CacheEtagMiddleware middleware into fastapi project cashews creates two records in redis database on GET request: one with key and one with etag. When I try to invalidate cache on POST request by using cache.invalidate(key) the cashews removes only one record. The record with fastapi::etag:... continues to be stored in redis and next GET request returns invalide (old) data.
The text was updated successfully, but these errors were encountered:
When I add CacheEtagMiddleware middleware into fastapi project cashews creates two records in redis database on GET request: one with key and one with etag. When I try to invalidate cache on POST request by using cache.invalidate(key) the cashews removes only one record. The record with fastapi::etag:... continues to be stored in redis and next GET request returns invalide (old) data.
The text was updated successfully, but these errors were encountered: