Summary
Cache section provides tools and information for managing the application's internal search cache. The search cache is used to store frequently accessed search results or data, which helps improve search performance and reduce the load on the system.
Cache is represented as an individual page tab for System information page.
Cache settings
Cache settings area displays configuration options related to the search cache:
Cache root directory - shows the file system path where the cache data is stored. This path indicates the physical location on the server where the cached information resides.
Ignore filter order - enabling or disabling this option can affect how search queries involving filters are cached.
Changing settings on this page may affect the operational capability of search environment
Cache monitor
Cache monitor provides real-time statistics about the performance and contents of the search cache. This information is presented in a grid:
Channel - specifies the channel for which the cache data is being monitored.
Entries - shows the current number of items or entries stored within the cache for that channel.
Cache hit percentage - displays the percentage of times a search request was successfully served directly from the cache.
Clearing the cache
If the cache is not emptied during the day by importing, manually initiating the emptying of the cache or setting the time-to-live of the individual cache entries accordingly, it will be automatically emptied by FactFinder between midnight and 6 a.m.
Clearing the cache in the Cache monitor grid
Clicking Clear cache button in the Cache monitor grid will clear the current contents of the search cache for the specified channel.
This action can be useful after data updates or configuration changes to ensure fresh data is loaded into the cache, or for troubleshooting cache-related issues.
Clearing the cache may temporarily impact search performance until the cache is repopulated.
Clearing the cache in the toolbar
Some configuration changes require to clear the cache manually to take effect immediately.
FactFinder signals this with a yellow sing with arrows and an exclamation mark
On click on it FactFinder opens a dialog box informing that the cache needs to be cleared and also offers an opportunity to empty it and/or perform an import.
Regardless of emptying the entire cache, each cache entry has its own lifetime until it is deleted. There are two strategies for managing the lifetime.
time-to-live
This is the default strategy. Each entry has a fixed lifetime (default= 15 minutes) until it is deleted again.time-to-idle
With this strategy, the lifetime of a cache entry is renewed with each call. Only when an entry has not been called for the set duration is it deleted.The use of delta updates has no effect on the lifetime of existing cache entries.
If a time-to-live strategy of 3 minutes is used, all requests would return the new information no later than 3 minutes after the delta update is sent.