V15: Add custom serializer for hybrid cache (#17727)
* Add custom serializer * Add migration to rebuild cache * Rename migration namespace to 15.1 * Also clear media cache * Remove failed cache items * Refactor to only use keys for document cache repository --------- Co-authored-by: nikolajlauridsen <nikolajlauridsen@protonmail.ch>
This commit is contained in:
@@ -7,12 +7,8 @@ internal interface IDatabaseCacheRepository
|
||||
{
|
||||
Task DeleteContentItemAsync(int id);
|
||||
|
||||
Task<ContentCacheNode?> GetContentSourceAsync(int id, bool preview = false);
|
||||
|
||||
Task<ContentCacheNode?> GetContentSourceAsync(Guid key, bool preview = false);
|
||||
|
||||
Task<ContentCacheNode?> GetMediaSourceAsync(int id);
|
||||
|
||||
Task<ContentCacheNode?> GetMediaSourceAsync(Guid key);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user