ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

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.

ხდკ

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.

მიმოხილვები

4 რევიუს წაკითხვა

მონაწილეები & დეველოპერები

“Specify a Vary: Accept-Encoding Header” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ Specify a Vary: Accept-Encoding Header თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

1.0

  • Initial release