Interface IGridJsJsonCache
Contents
[
Hide
]IGridJsJsonCache interface
JSON cache interface - customers implement specific storage and invalidation strategies
public interface IGridJsJsonCache
Methods
| Name | Description |
|---|---|
| ClearAll() | Clear all caches |
| GetCacheKey(string, string) | 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). |
| Invalidate(string) | Invalidate the specified cache entry. |
| InvalidateAllForUid(string) | Invalidate all cache entries containing the specified uid. This is useful when you don’t know the exact fileName used for caching. |
| SetJson(string, string) | Write JSON into cache. |
| TryGetJson(string) | Attempt to retrieve JSON from cache. |
See Also
- namespace Aspose.Cells.GridJs
- assembly Aspose.Cells.GridJs