 
   # clear the cache for a site
   when 'cache:warm'
+    TIME_START = Date.now()
+    LAST_SCRIPT_LOADED = 0
+    SCRIPT_LOAD_TIME = 0
+    SECONDS_ELAPSED = 0
     DOMAIN = args[0]
     debug_mode = true if args[1] is 'debug'
     log 'DEBUG MODE' if debug_mode

            cacheCount resp.headers, type

            RAW_DATA.SCRIPTS_LOADED++
            next()

        if debug_mode

        output = ['CACHE:WARM COMPLETE', border, '']
        for {title, table} in metrics
          output = output.concat([title, table, ''])
        output.push "SCRIPTS LOAD TIME: #{SCRIPT_LOAD_TIME} seconds"
        output.push "TOTAL RUN TIME: #{SECONDS_ELAPSED} seconds"
        log output.join '\n'
        process.exit()

