Title: Specify a Vary: Accept-Encoding Header
Author: lithiumsixteen
Published: <strong>13. apryla 2018</strong>
Last modified: 13. apryla 2018

---

Tykače pytać

![](https://ps.w.org/specify-a-vary-accept-encoding-header/assets/banner-772x250.
png?rev=1857583)

Tutón tykač **njeje so z najnowšimi 3 hłownymi wersijemi WordPress testował**. Snano
so hižo njewothladuje abo njepodpěruje a ma problemy z kompatibelnosću, hdyž so 
z nowšimi wersijemi WordPress wužiwa.

![](https://ps.w.org/specify-a-vary-accept-encoding-header/assets/icon-256x256.png?
rev=1857583)

# Specify a Vary: Accept-Encoding Header

 Wot [lithiumsixteen](https://profiles.wordpress.org/lithiumsixteen/)

[Sćahnyć](https://downloads.wordpress.org/plugin/specify-a-vary-accept-encoding-header.1.0.0.zip)

 * [Podrobnosće](https://hsb.wordpress.org/plugins/specify-a-vary-accept-encoding-header/#description)
 * [Pohódnoćenja](https://hsb.wordpress.org/plugins/specify-a-vary-accept-encoding-header/#reviews)
 *  [Instalacija](https://hsb.wordpress.org/plugins/specify-a-vary-accept-encoding-header/#installation)
 * [Wuwiće](https://hsb.wordpress.org/plugins/specify-a-vary-accept-encoding-header/#developers)

 [Podpěra](https://wordpress.org/support/plugin/specify-a-vary-accept-encoding-header/)

## Wopisanje

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.

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.

This plugin adds a rewrite rule to your WordPress directory’s `.htaccess` Apache
file.

    ```
    < IfModule mod_headers.c >

      < FilesMatch \".(js|css|xml|gz|html)$\" >

        Header append Vary: Accept-Encoding

      < /FilesMatch >

    < /IfModule >
    ```

## Fota wobrazowki

[⌊Example Page Speed Scores before installing⌉⌊Example Page Speed Scores before 
installing⌉[

Example Page Speed Scores before installing

[⌊Example Page Speed Scores after installation of this plugin⌉⌊Example Page Speed
Scores after installation of this plugin⌉[

Example Page Speed Scores after installation of this plugin

## Instalacija

No configuration required.

This plugin can be installed directly through your WordPress Plugins dashboard. 
Click “Add New” and Search for “Vary: Accept-Encoding Header”.

Then Install and Activate.

Alternatively, you can download the plugin using the download button on this page
and then upload the `specify-a-vary-accept-encoding -header` folder to the `/wp-
content/plugins/` directory then activate through the Plugins dashboard in WordPress.

## HSP

  Installation Instructions

No configuration required.

This plugin can be installed directly through your WordPress Plugins dashboard.

Click “Add New” and Search for “Vary: Accept-Encoding Header”.

Then Install and Activate.

Alternatively, you can download the plugin using the download button on this page
and then upload the `specify-a-vary-accept-encoding -header` folder to the `/wp-
content/plugins/` directory then activate through the Plugins dashboard in WordPress.

  Why might this plugin not work for me?

There are a couple of reasons why this may not work for you.
 If 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 `/
etc/nginx/nginx.conf`. Add this code to the file: `gzip_vary on`. Also, 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’t have access to their web servers.

## Pohódnoćenja

![](https://secure.gravatar.com/avatar/74d2729a52328d95d5cd2623383cf0e4a4129e4827dedde3ca1b8f1e0e4e8efc?
s=60&d=retro&r=g)

### 󠀁[Not working for me.](https://wordpress.org/support/topic/not-working-for-me-216/)󠁿

 [longjohn1](https://profiles.wordpress.org/longjohn1/) 23. awgusta 2018

Didn't work for me.

![](https://secure.gravatar.com/avatar/5ffcab15edc08f5f54b26e2e496f4eca42ffc4a02492d7c8f4a0873c603e77f5?
s=60&d=retro&r=g)

### 󠀁[Worked amazingly !!!!](https://wordpress.org/support/topic/worked-amazingly/)󠁿

 [dreduq](https://profiles.wordpress.org/dreduq/) 16. awgusta 2018

it does exactly what it says. Worked great so far. 🙂

![](https://secure.gravatar.com/avatar/b30fb334e1dc00d2802476fd2cb970724ab8246564db9f6d5d5465173dfdaecb?
s=60&d=retro&r=g)

### 󠀁[Perfect score!](https://wordpress.org/support/topic/perfect-score/)󠁿

 [markmapstone](https://profiles.wordpress.org/markmapstone/) 9. awgusta 2018

This instantly worked – and kicked my site up to a performance score of 97 on Pingdom.

![](https://secure.gravatar.com/avatar/c6f9cc10f4d432bdd19b708db089a864ce0c24264312b2b782276cb86c9c1831?
s=60&d=retro&r=g)

### 󠀁[Worked great!](https://wordpress.org/support/topic/worked-great-136/)󠁿

 [marcfuller](https://profiles.wordpress.org/marcfuller/) 20. meje 2018

Thanks!

 [ Čitajće 4 pohódnoćenja ](https://wordpress.org/support/plugin/specify-a-vary-accept-encoding-header/reviews/)

## Sobuskutkowarjo a wuwiwarjo

„Specify a Vary: Accept-Encoding Header“ je softwara wotewrjeneho žórła. Slědowacy
ludźo su k tutomu tykačej přinošowali.

Sobuskutkowarjo

 *   [ lithiumsixteen ](https://profiles.wordpress.org/lithiumsixteen/)

[Přełožće „Specify a Vary: Accept-Encoding Header“ do swojeje rěče.](https://translate.wordpress.org/projects/wp-plugins/specify-a-vary-accept-encoding-header)

### Na wuwiću zajimowany?

[Přehladajće kod](https://plugins.trac.wordpress.org/browser/specify-a-vary-accept-encoding-header/),
hladajće do [SVN-repozitorija](https://plugins.svn.wordpress.org/specify-a-vary-accept-encoding-header/)
abo abonujće [wuwiwanski protokol](https://plugins.trac.wordpress.org/log/specify-a-vary-accept-encoding-header/)
přez [RSS](https://plugins.trac.wordpress.org/log/specify-a-vary-accept-encoding-header/?limit=100&mode=stop_on_copy&format=rss).

## Protokol změnow

### 1.0

 * Initial release

## Meta

 *  Version **1.0.0**
 *  Last updated **9 lět**
 *  Active installations **200+**
 *  WordPress version ** 3.0.1 abo nowši **
 *  Tested up to **4.9.34**
 *  PHP version ** 5.2 abo nowši **
 *  Language
 * [English (US)](https://wordpress.org/plugins/specify-a-vary-accept-encoding-header/)
 * Tags
 * [accept](https://hsb.wordpress.org/plugins/tags/accept/)[performance](https://hsb.wordpress.org/plugins/tags/performance/)
   [security](https://hsb.wordpress.org/plugins/tags/security/)[speed](https://hsb.wordpress.org/plugins/tags/speed/)
   [vary](https://hsb.wordpress.org/plugins/tags/vary/)
 *  [Rozšěrjeny napohlad](https://hsb.wordpress.org/plugins/specify-a-vary-accept-encoding-header/advanced/)

## Pohódnoćenja

 4 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/specify-a-vary-accept-encoding-header/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/specify-a-vary-accept-encoding-header/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/specify-a-vary-accept-encoding-header/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/specify-a-vary-accept-encoding-header/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/specify-a-vary-accept-encoding-header/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/specify-a-vary-accept-encoding-header/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/specify-a-vary-accept-encoding-header/reviews/)

## Sobuskutkowarjo

 *   [ lithiumsixteen ](https://profiles.wordpress.org/lithiumsixteen/)

## Podpěra

Chceće něšto prajić? Trjebaće pomoc?

 [Forum pomocy pokazać](https://wordpress.org/support/plugin/specify-a-vary-accept-encoding-header/)