Change options checking order to skip redis if cache is nil

Hi,

I had an issue with cobweb: even if options[:cache] is set to nil it still wants to connect to redis. Please check my update that fixes it.