code: def write(self):
          
          io.debug("Storing cache '{0}'".format(self.path))
          with open(self.path, "w") as file:
              json.dump(self._data, file, sort_keys=True, indent=2,
                        separators=(',', ': '))
docs: Write contents of cache to disk.