Closed Memoyu closed 1 year ago
Then use diskcache to allow custom serializers. Currently, the following serializers are supported:
option.UseDisk(cfg => { cfg.DBConfig = new DiskDbOptions { BasePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Cache") }; cfg.SerializerName = "msgpack"; }, "disk") .WithJson("json") .WithSystemTextJson("sysjson") .WithMessagePack("msgpack");
Content
Then use diskcache to allow custom serializers. Currently, the following serializers are supported:
Usage: