I run cb 2.0 and directadmin/custombuild seem to add these headers to apache so they are added to all sites running php:
But why is "User-Agent" added here? Vary: User-Agent can cause cache inefficiency.
Have anybody removed it so the php sites server only this in the header instead?:
Question is if I should remove "User-Agent" from vary on a global scale in shared hosting servers? If not, is it possible to remove "User-Agent" from vary header by using .htaccess for each user that don't want it?
Heres the documentation: http://httpd.apache.org/docs/2.4/mod/mod_deflate.html#proxies
Code:
Vary: Accept-Encoding,User-Agent
But why is "User-Agent" added here? Vary: User-Agent can cause cache inefficiency.
Have anybody removed it so the php sites server only this in the header instead?:
Code:
Vary: Accept-Encoding
Question is if I should remove "User-Agent" from vary on a global scale in shared hosting servers? If not, is it possible to remove "User-Agent" from vary header by using .htaccess for each user that don't want it?
Heres the documentation: http://httpd.apache.org/docs/2.4/mod/mod_deflate.html#proxies