contentCacheable

Function to determine if the data should be cached.

This function evaluates the provided data to decide whether it is suitable for caching. If the function returns true, the data is considered cacheable; otherwise, it is not. This can be useful in cases where caching is conditional based on specific data attributes or properties that indicate the content should be stored temporarily.

override val contentCacheable: QueryContentCacheable<SomeType> = { data -> data.isNotEmpty() }