{"id":84332,"date":"2018-04-13T02:44:20","date_gmt":"2018-04-13T02:44:20","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/specify-a-vary-accept-encoding-header\/"},"modified":"2018-04-13T03:29:20","modified_gmt":"2018-04-13T03:29:20","slug":"specify-a-vary-accept-encoding-header","status":"publish","type":"plugin","link":"https:\/\/sa.wordpress.org\/plugins\/specify-a-vary-accept-encoding-header\/","author":16082380,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.0","stable_tag":"1.0.0","tested":"4.9.29","requires":"3.0.1","requires_php":"5.2","requires_plugins":"","header_name":"Specify a Vary: Accept-Encoding Header","header_author":"LithiumSixteen","header_description":"Fixes a \"Vary: Accept-Encoding Header\" message and boosts website performance.","assets_banners_color":"ffffff","last_updated":"2018-04-13 03:29:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"https:\/\/lithiumsixteen.com","rating":4,"author_block_rating":0,"active_installs":200,"downloads":5766,"num_ratings":4,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":0,"3":0,"4":0,"5":"3"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1857583","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1857583","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500-rtl.png":{"filename":"banner-1544x500-rtl.png","revision":"1857583","resolution":"1544x500","location":"assets"},"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1857583","resolution":"1544x500","location":"assets"},"banner-772x250-rtl.png":{"filename":"banner-772x250-rtl.png","revision":"1857583","resolution":"772x250","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1857583","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1857583","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1857583","resolution":"2","location":"assets"}},"screenshots":{"1":"Example Page Speed Scores before installing","2":"Example Page Speed Scores after installation of this plugin"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1900,247,600,794,73624],"plugin_category":[52,54],"plugin_contributors":[155560],"plugin_business_model":[],"class_list":["post-84332","plugin","type-plugin","status-publish","hentry","plugin_tags-accept","plugin_tags-performance","plugin_tags-security","plugin_tags-speed","plugin_tags-vary","plugin_category-performance","plugin_category-security-and-spam-protection","plugin_contributors-lithiumsixteen","plugin_committers-lithiumsixteen"],"banners":{"banner":"https:\/\/ps.w.org\/specify-a-vary-accept-encoding-header\/assets\/banner-772x250.png?rev=1857583","banner_2x":"https:\/\/ps.w.org\/specify-a-vary-accept-encoding-header\/assets\/banner-1544x500.png?rev=1857583","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/specify-a-vary-accept-encoding-header\/assets\/icon-128x128.png?rev=1857583","icon_2x":"https:\/\/ps.w.org\/specify-a-vary-accept-encoding-header\/assets\/icon-256x256.png?rev=1857583","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/specify-a-vary-accept-encoding-header\/assets\/screenshot-1.png?rev=1857583","caption":"Example Page Speed Scores before installing"},{"src":"https:\/\/ps.w.org\/specify-a-vary-accept-encoding-header\/assets\/screenshot-2.png?rev=1857583","caption":"Example Page Speed Scores after installation of this plugin"}],"raw_content":"<!--section=description-->\n<p>Many WordPress performance plugins are bloated and include features that you don't need. This plugin does just one thing. It adds a \"Vary: Accept-Encoding Header\" to boost website performance.<\/p>\n\n<p>When browsers make a request, they include HTTP headers for the server to decide what to send back. The Vary header describes what information identifies a request. Caches should only be used if the request matches the Vary information in the cache.<\/p>\n\n<p>This plugin adds a rewrite rule to your WordPress directory's <code>.htaccess<\/code> Apache file.<\/p>\n\n<pre><code>&lt; IfModule mod_headers.c &gt;\n\n  &lt; FilesMatch \\\".(js|css|xml|gz|html)$\\\" &gt;\n\n    Header append Vary: Accept-Encoding\n\n  &lt; \/FilesMatch &gt;\n\n&lt; \/IfModule &gt;\n<\/code><\/pre>\n\n<!--section=installation-->\n<p>No configuration required.<\/p>\n\n<p>This plugin can be installed directly through your WordPress Plugins dashboard.\nClick \u201cAdd New\u201d and Search for \u201cVary: Accept-Encoding Header\u201d.<\/p>\n\n<p>Then Install and Activate.<\/p>\n\n<p>Alternatively, you can download the plugin using the download button on this page and then upload the <code>specify-a-vary-accept-encoding -header<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory then activate through the Plugins dashboard in WordPress.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><p>No configuration required.<\/p>\n\n<p>This plugin can be installed directly through your WordPress Plugins dashboard.\nClick \u201cAdd New\u201d and Search for \u201cVary: Accept-Encoding Header\u201d.<\/p>\n\n<p>Then Install and Activate.<\/p>\n\n<p>Alternatively, you can download the plugin using the download button on this page and then upload the <code>specify-a-vary-accept-encoding -header<\/code> folder to the <code>\/wp-content\/plugins\/<\/code> directory then activate through the Plugins dashboard in WordPress.<\/p><\/dd>\n<dt>Why might this plugin not work for me?<\/dt>\n<dd><p>There are a couple of reasons why this may not work for you.\nIf your server is running NGINX, you will probably need to update the NGINX  configuration. This can't be done from within WordPress itself. The primary NGINX configuration file is <code>\/etc\/nginx\/nginx.conf<\/code>. Add this code to the file: <code>gzip_vary on<\/code>.\nAlso, this will only work for requests that are on your server. If you have third party requests, there is nothing you can do because you don\u2019t have access to their web servers.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h3>1.0<\/h3>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"This plugin fixes a &quot;Vary: Accept-Encoding Header&quot; message and boosts website performance.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/84332","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=84332"}],"author":[{"embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/lithiumsixteen"}],"wp:attachment":[{"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=84332"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=84332"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=84332"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=84332"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=84332"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sa.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=84332"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}