IGridJsJsonCache.GetCacheKey

IGridJsJsonCache.GetCacheKey method

Generate a cache key. Customers can decide whether to include the uid based on business requirements. - If only the file name matters: ignore uid and use fileName only (recommended, allows sharing cache across same file). - If distinguishing files with the same name is required: use uid (strict mode).

public string GetCacheKey(string uid, string fileName)
ParameterTypeDescription
uidStringUnique identifier of the file (may differ per load)
fileNameStringOriginal file name

Return Value

Cache key

See Also