Describe the bug
There is no documentation for FusionCacheInternalStrings class and its properties.
To Reproduce
Just try to find mentions for DistributedCacheWireFormatSeparator in this repository.
Expected behavior
A clear and concise description of FusionCacheInternalStrings present in docs.
Additional context
I implemented 2 IDistributedCache providers using key-value and object storages provided by NATS message bus. Key-value storage have some restrictions on characters could be used as entry keys. In short it should pass this regex: \A[-/_=\.a-zA-Z0-9]+\z. You actively use colon : in entry keys and I had hard time to find info about how to change these separators and prefixes. I found it only with help of Google search AI. It's even more challenging because you actively use cache entries to expire and remove entries (or something like that) with cryptic names like K:ab*.
Anyway it's a very good library and I thank you for your contribution.
By the way I solved my problem with such code:
services.AddFusionCache(CacheNames.Thumbnails)
.WithOptions(options => options.InternalStrings = new FusionCacheInternalStrings {
DistributedCacheWireFormatSeparator = "=WIRE=",
CacheKeyPrefixSeparator = "=KEY=",
TagCacheKeyPrefix = "=TAG=",
BackplaneChannelNameSeparator = "=NAME=",
BackplaneWireFormatSeparator = "=FORMAT=",
ClearExpireTag = "_EXPIRE_",
ClearRemoveTag = "_REMOVE_"
})
...
Describe the bug
There is no documentation for
FusionCacheInternalStringsclass and its properties.To Reproduce
Just try to find mentions for
DistributedCacheWireFormatSeparatorin this repository.Expected behavior
A clear and concise description of
FusionCacheInternalStringspresent in docs.Additional context
I implemented 2
IDistributedCacheproviders using key-value and object storages provided by NATS message bus. Key-value storage have some restrictions on characters could be used as entry keys. In short it should pass this regex:\A[-/_=\.a-zA-Z0-9]+\z. You actively use colon:in entry keys and I had hard time to find info about how to change these separators and prefixes. I found it only with help of Google search AI. It's even more challenging because you actively use cache entries to expire and remove entries (or something like that) with cryptic names likeK:ab*.Anyway it's a very good library and I thank you for your contribution.
By the way I solved my problem with such code: