def _set_placeholder_cache_version(placeholder, lang, site_id, version, vary_on_list=None, duration=None):
 from django.core.cache import cache
 key = _get_placeholder_cache_version_key(placeholder, lang, site_id)
 if ((not version) or (version < 1)):
  version = int((time.time() * 1000000))
 if (vary_on_list is None):
  vary_on_list = []
 cache.set(key, (version, vary_on_list), duration)

def _set_placeholder_cache_version ( placeholder , lang , site_id , version , vary_on_list = None , duration = None ) : from django . core . cache import cache key = _get_placeholder_cache_version_key ( placeholder , lang , site_id ) if ( ( not version ) or ( version < 1 ) ) : version = int ( ( time . time ( ) * 1000000 ) ) if ( vary_on_list is None ) : vary_on_list = [ ] cache . set ( key , ( version , vary_on_list ) , duration )
sets the s version and vary-on header-names list .