add -z option to compress html cache in db