Data Expiration Strategies in Cache
NCache supports time-based data expiration, allowing you to set specific time intervals for cache data invalidation. This ensures that stale data is removed, providing clients with fresh, relevant information. It is ideal for scenarios with predictable data changes or infrequent updates. Additionally, it can be used for session management by removing inactive sessions from the cache after a specified period.
Note
This feature is also available in NCache Professional.
NCache supports Absolute and Sliding Expirations, along with an extended flexibility to use multiple default expirations on one dataset. These will be discussed in detail in successive topics.
In This Section
Data Expiration Overview
Explains use cases and behaviors for Absolute Expiration, Sliding Expiration, and Default Expiration.
Absolute Data Expiration
Explains how to perform operations using Absolute Expiration.
Sliding Data Expiration
Explains how to perform operations using Sliding Expiration.