"Vary: Accept-Encoding" header:
2
Hi All, just found a fix for the following error on Pingdom:
The following publicly cacheable, compressible resources should have a "Vary: Accept-Encoding" header:
If you check your site on Pingdom (https://tools.pingdom.com) you might see this error
Go to... All In One SEO (if you use it) > File Editor > .HTACCESS (tab)
Paste this into the beginning of the .HTACCESS file
<IfModule mod_headers.c>
<FilesMatch ".(js|css|xml|gz|html)$">
Header append Vary: Accept-Encoding
</FilesMatch>
</IfModule>
Click 'Save .HTACCESS'
you are all set, retest on Pingdom
(this will not fix urls that are not LOCAL to your site like Amazon, Facebook, etc, as thats their issue)
Hope that helped someone.
Regards
Andrew
Create Your Free Wealthy Affiliate Account Today!
4-Steps to Success Class
One Profit Ready Website
Market Research & Analysis Tools
Millionaire Mentorship
Core “Business Start Up” Training
Recent Comments
0
Create Your Free Wealthy Affiliate Account Today!
4-Steps to Success Class
One Profit Ready Website
Market Research & Analysis Tools
Millionaire Mentorship
Core “Business Start Up” Training