이 플러그인은 최근 3개의 주요 워드프레스 출시와 시험 되지 않았습니다. 워드프레스의 좀 더 최근 버전으로 이용할 때 더 이상 관리되지 않고 지원되지 않고 호환성 문제가 있을 수 있습니다.

Specify a Vary: Accept-Encoding Header

설명

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 >

스크린샷

  • Example Page Speed Scores before installing
  • Example Page Speed Scores after installation of this plugin

설치

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.

FAQ

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.

후기

2018년 8월 9일
This instantly worked - and kicked my site up to a performance score of 97 on Pingdom.
모든 4 평가 읽기

기여자 & 개발자

“Specify a Vary: Accept-Encoding Header”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Specify a Vary: Accept-Encoding Header”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

1.0

  • Initial release