class_docstr: Stores/loads data to increase performance.
  
  :param cache_db: specific DB for specific data
code: def __init__(
      self, cache_db: Union[OperationsCacheDB, PreprocessingCacheDB]
  ):
      self._db = cache_db
      self.log = default_log(__name__)
  
file_path: FEDOT/fedot/core/caching/base_cache.py
imports: from typing import Union
  from golem.core.log import default_log
  from golem.utilities.singleton_meta import SingletonMeta
  from fedot.core.caching.pipelines_cache_db import OperationsCacheDB
  from fedot.core.caching.preprocessing_cache_db import PreprocessingCacheDB
label_desc: Use image node_id 1 to create a new BaseCache object  with example: obj = BaseCache(cache_db)