Libraries
← Back to Website
All Versions
Preparing search index...
@cleverbrush/client
cache
computeCacheTagKey
Function computeCacheTagKey
computeCacheTagKey
(
tag
:
SerializedCacheTag
,
root
:
CacheTagRoot
)
:
string
Computes a deterministic cache key from a tag and request data.
Tags with no properties produce just the tag name.
Tags with properties produce
name:key1=val1,key2=val2
where keys are sorted alphabetically for determinism.
Parameters
tag
:
SerializedCacheTag
root
:
CacheTagRoot
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
← Back to Website
All Versions
Libraries
Loading...
Computes a deterministic cache key from a tag and request data.
name:key1=val1,key2=val2where keys are sorted alphabetically for determinism.