MyBB Community Forums

Full Version: Specify a Vary: Accept-Encoding header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Google Insights tells me to take care of this. How to fix it on MYBB?
D666 buddy thanks so much. Please could you tell me which files are best for MYBB?

<IfModule mod_headers.c>
  <FilesMatch "\.(js|css|xml|gz)$">
    Header append Vary: Accept-Encoding
  </FilesMatch>
</IfModule>
xml|gz
What are these files and do I need them?
MyBB doesn't serve xml or gzip files, so no. Additionally you could add gif|jpg|png to add it to images as they are static too