docs: def _write_cache_to_file(self):
          """Write the contents of the cache to a file on disk."""
          with(open(self._cache_file_name, 'w')) as fp:
              fp.write(simplejson.dumps(self._cache))