roots / wp-h5bp-htaccess

WordPress plugin that adds HTML5 Boilerplate's .htaccess
https://roots.io/plugins/html5-boilerplate-htaccess/
MIT License
153 stars 37 forks source link

Vary Accept Encoding #8

Closed dave-agilepixel closed 10 years ago

dave-agilepixel commented 10 years ago

I read that Vary Accept encoding was a good idea for performance and browser compatibility, I've added this to the h5bp-htaccess file

Fix for older browsers that don't support Compression

Suggested here - http://blog.maxcdn.com/accept-encoding-its-vary-important/

Header append Vary: Accept-Encoding

Probably should do this as a pull request let me know if it's an issue. Thanks Dave

retlehs commented 10 years ago

looks like this was already brought up on h5bp - see https://github.com/h5bp/html5-boilerplate/issues/1096