How to save a value to the cache?

2 posts were split to a new topic: Whether the df_cache_save() will cache forever without the $lifeTime argument?