changing order of operations to gzip then cache