How to fix accept encoding header?

HI

how to fix accept encoding header? because of this error page speed is becoming low. any ways to fix this error

Take backup of your .htaccess and then place below code.

<IfModule mod_headers.c>
<FilesMatch ".(js|css|xml|gz|html)$">
Header append Vary: Accept-Encoding
</FilesMatch>
</IfModule>

This will work if Apache2 has headers module enabled.

If not enabled, do it.

sudo a2enmod headers

Restart Apache2 services

sudo service apache2 restart