Added check to honour no-cache header