code: def do_ultracache(parser, token):
      
      nodelist = parser.parse(("endultracache",))
      parser.delete_first_token()
      tokens = token.split_contents()
      if len(tokens) < 3:
          raise TemplateSyntaxError(""%r" tag requires at least 2 arguments." % tokens[0])
      return UltraCacheNode(nodelist,
          parser.compile_filter(tokens[1]),
          tokens[2], # fragment_name can"t be a variable.
          [parser.compile_filter(token) for token in tokens[3:]])
docs: Based on Django's default cache template tag