What happens if a browser doesn't support gzip

2019-08-12 15:31发布

问题:

I'm using mod_deflate to enable gzip on a site via the .htaccess file.

What happens if a browser that doesn't support gzip visits the site ?

回答1:

Then the server doesn't send gzip. That's the whole point of the "Accept-Encoding:" heading from the browser, which indicates this by not having "gzip" in that header.