add vary, check file's length when gzip