Some functions about cache.
Check cache before operation
check_cache_before(atom(), atom(), [term()], Keyword.t()) :: term()
Check cache before operation.