     async.waterfall [
       (callback) ->
         return callback null, null  unless lruCache
-        console.log "LRU: #{lruCache.get req.params[0]}"
         callback null, lruCache.get req.params[0] || null
 
       (longUrl, callback) ->

        ddurl.expand req.params[0], (err, result) ->
          return callback null, null  unless result

          console.log 'Store LRU'  if lruCache
          lruCache.set req.params[0], result.longUrl  if lruCache
          if cache and cacheStatus
            console.log 'Store Redis'
            cache.set req.params[0], result.longUrl, (err) ->
              callback err, result.longUrl
          else

          return callback null, longUrl

        cache.get req.params[0], (err, longUrl) ->
          lruCache.set req.params[0], longUrl  if lruCache
          callback err, longUrl

