code: def create_gzip_cache(pelican):
      '''Create a gzip cache file for every file that a webserver would
      reasonably want to cache (e.g., text type files).
  
      :param pelican: The Pelican instance
      '''
      for dirpath, _, filenames in os.walk(pelican.settings['OUTPUT_PATH']):
          for name in filenames:
              if should_compress(name):
                  filepath = os.path.join(dirpath, name)
                  create_gzip_file(filepath, should_overwrite(pelican.settings)f create_gzip_cache(pelican):
      '''Create a gzip cache file for every file that a webserver would
      reasonably want to cache (e.g., text type files).
  
      :param pelican: The Pelican instance
      '''
      for dirpath, _, filenames in os.walk(pelican.settings['OUTPUT_PATH']):
          for name in filenames:
              if should_compress(name):
                  filepath = os.path.join(dirpath, name)
                  create_gzip_file(filepath, should_overwrite(pelican.settings))
docs: Create a gzip cache file for every file that a webserver would
      reasonably want to cache (e.g., text type files).
  
      :param pelican: The Pelican instance