class_docstr: Class that can cache data contained in files
docstr: Cache data for given file
docstr_tok: ["Cache","data","for","given","file"]
code: def cache_data(self, filename, data):
      """Cache data for given file"""
      if self._cache_data_policy:
          self._cache[filename] = data
  
file_path: pelican/pelican/cache.py
imports: import hashlib
  import logging
  import os
  import pickle
  from pelican.utils import mkdir_p
label_desc: Use image node_id 2 for calling the FileDataCacher obj's underlying member method code with example usage: obj.cache_data(filename, data) without return types