"Vary: Accept-Encoding" header:
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
Join FREE & Launch Your Business!
Exclusive Bonus - Offer Ends at Midnight Today
00
Hours
:
00
Minutes
:
00
Seconds
2,000 AI Credits Worth $10 USD
Build a Logo + Website That Attracts Customers
400 Credits
Discover Hot Niches with AI Market Research
100 Credits
Create SEO Content That Ranks & Converts
800 Credits
Find Affiliate Offers Up to $500/Sale
10 Credits
Access a Community of 2.9M+ Members
Recent Comments
0
Join FREE & Launch Your Business!
Exclusive Bonus - Offer Ends at Midnight Today
00
Hours
:
00
Minutes
:
00
Seconds
2,000 AI Credits Worth $10 USD
Build a Logo + Website That Attracts Customers
400 Credits
Discover Hot Niches with AI Market Research
100 Credits
Create SEO Content That Ranks & Converts
800 Credits
Find Affiliate Offers Up to $500/Sale
10 Credits
Access a Community of 2.9M+ Members