Title: Duplicate Accept-Encoding header
Last modified: August 16, 2018

---

# Duplicate Accept-Encoding header

 *  Resolved [Nabbe](https://wordpress.org/support/users/nabbe/)
 * (@nabbe)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/duplicate-accept-encoding-header/)
 * Hello. in my nginx.conf set global varible to `gzip_vary on`. And advanced-cache.
   php:163 set `header('Vary: Accept-Encoding')`. Can you add an optional constant
   like `define('WP_HEADER_VARY', true)` to switch this functional?
    -  This topic was modified 7 years, 9 months ago by [Nabbe](https://wordpress.org/support/users/nabbe/).
    -  This topic was modified 7 years, 9 months ago by [Nabbe](https://wordpress.org/support/users/nabbe/).

The topic ‘Duplicate Accept-Encoding header’ is closed to new replies.

 * ![](https://ps.w.org/hyper-cache/assets/icon-256x256.png?rev=3452725)
 * [Hyper Cache](https://wordpress.org/plugins/hyper-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/hyper-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/hyper-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/hyper-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/hyper-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/hyper-cache/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Nabbe](https://wordpress.org/support/users/nabbe/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/duplicate-accept-encoding-header/)
 * Status: resolved