class_docstr: A simple cache (dictionary) with limited size which expunges oldest entries
      
code: def __init__(self, *args, **kwds):
      self.size_limit = kwds.pop("size_limit", None)
      OrderedDict.__init__(self, *args, **kwds)
      self._check_size_limit()
  
imports: from collections import OrderedDict
  from functools import lru_cache
label_desc: Use image node_id 1 to create a new DictCache object from inherited base classes: OrderedDict with example: obj = DictCache()