Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
All streams Development Administrating Design Management Marketing PopSci Log in Sign up
Translation
For any site, it is important to properly configure the HTTP headers. A lot of articles have been written on the subject of headings. Here
we have summarized the lessons learned, the RFC documentation. Some of the headings are mandatory, some are obsolete, some can
be confusing and contradictory. We did a parsing to automatically check the HTTP headers of the web server.
Correct HTTP headers increase security and trust in the site, including from search engines, can affect the site’s position in Yandex and
Google, save server resources, reduce server load, thereby increasing the server response speed, which again affects the ranking of the
site in the search, save money on payment powerful hosting, which may not be required for the site when configured correctly.
Check not only web-page headers, but also headers of static content, images, css and js files. Check separately If-Modified-Since and If-
None-Match for correct your web server reply 304 Not Modified.
Unlike many other services that simply show headers, our headers checker allows:
1. get total score of web-server settings quality and advices what possible to improve;
4. specify the version of the HTTP protocol: 1.0, 1.1, 2 (checks if HTTP / 2 is supported);
5. specify the request method, timeout, and post data to send to the server;
6. the service also checks if the response to the If-Modified-Since, If-None-Match requests is correct if the server response contains
Last-Modified or ETag;
We do not claim to be the ultimate truth. For individual content and for individual projects, of course, there may be deviations. But this
service will definitely tell you what you should pay attention to, it may be useful for you to edit your headers. The following is a list of
what the verification service pays attention to. Why so, read in articles on a habr.
Mandatory headers
Date
X-Power-By
X_ASPNET-Version
Expires
Pragma
https://habr.com/en/post/504990/ 1/4
8/15/2020 HTTP headers checker / Habr
P3P
Via
X-UA-Compatible
X-XSS-Protection
Strict-Transport-Security
Referrer-Policy
Feature-Policy
Caching headers
Required for static content with a long cache term and highly desirable for dynamic content with a short cache term.
Last-Modified
ETag
Cache-Control
Vary
HTTP/2
Nowadays the server must support HTTP/2. By default, the service checks the server for HTTP/2. If your server does not support HTTP/2,
then select HTTP/1.1.
0 1 936 2 Share
20.0 13.1
Karma Rating
SIMILAR POSTS
How to cook RTSP on your website in 2020, or why the boars will not have a chance to run away
+4 14k 2 1
https://habr.com/en/post/504990/ 2/4
8/15/2020 HTTP headers checker / Habr
Ads
Comments 2
Хабр молодец, решает за юзера какой язык поста отображать, даже если ты ему принудительно пишешь в строке /ru/ — получаешь
English. Js животворящий
Этот префикс за переключение интерфейса отвечает. У меня урл выглядит так habr.com/ru/post/504990/?
reply_to=21692310#comment_21692310
Интерфейс русский.
Внизу страницы есть Настройки языка. Если там переключиться на английский тогда habr.com/en/post/504990 — такой будет урл.
Only users with full accounts can post comments. Log in, please.
TOP POSTS
Audio over Bluetooth: most detailed information about profiles, codecs, and devices
+22 112k 10 8
https://habr.com/en/post/504990/ 3/4
8/15/2020 HTTP headers checker / Habr
Terms of service
https://habr.com/en/post/504990/ 4/4