博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
浏览器标头查询_HTTP标头检查器
阅读量:2509 次
发布时间:2019-05-11

本文共 3523 字,大约阅读时间需要 11 分钟。

浏览器标头查询

. 。

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.

正确的HTTP标头可以提高网站的安全性和信任度,包括来自搜索引擎的信任度,可以影响网站在Yandex和Google中的位置,节省服务器资源,减少服务器负载,从而提高服务器响应速度,从而再次影响网站的排名。通过搜索,可以在强大的付款托管服务上省钱,如果配置正确,则可能不需要该网站。

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.

不仅检查网页标题,还检查静态内容,图像,css和js文件的标题。 分别检查If-Modified-Since和If-None-Match是否正确,以使您的Web服务器回复304未修改。

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;

    获得Web服务器设置质量的总分,并提出可以改进的建议;
  2. set the value of typical headers;

    设置典型标题的值;
  3. add your own custom headers;

    添加您自己的自定义标题;
  4. specify the version of the HTTP protocol: 1.0, 1.1, 2 (checks if HTTP / 2 is supported);

    指定HTTP协议的版本:1.0、1.1、2(检查是否支持HTTP / 2);
  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;

    如果服务器响应包含Last-Modified或ETag,则该服务还检查对If-Modified-Since,If-None-Match请求的响应是否正确;
  7. see HTTP-request data and other request params.

    请参阅HTTP请求数据和其他请求参数。

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, .

我们并不声称这是最终的真理。 当然,对于单个内容和单个项目,可能会有偏差。 但是,此服务肯定会告诉您应注意的事项,它可能对您编辑标题有用。 以下是验证服务需要注意的列表。 为什么这样,请 。

强制标题 (Mandatory headers)

  • Date

    日期
  • Content-Type specifying charset for text content preferably utf-8

    为文本内容指定字符集的Content-Type,最好是utf-8
  • Content-Encoding compression for text content

    文本内容的内容编码压缩

标头过时和不必要 (Obsolete and unnecessary headers)

  • Server with a detailed version of the web server

    具有Web服务器详细版本的服务器
  • X-Power-By

    X电源
  • X_ASPNET-Version

    X_ASPNET版本
  • Expires

    过期
  • Pragma

    语用
  • P3P

    P3P
  • Via

    通过
  • X-UA-Compatible

    兼容X-UA

所需的安全标头 (Desired headers for security)

  • X-Content-Type-Options

    X内容类型选项
  • X-XSS-Protection

    X-XSS保护
  • Strict-Transport-Security

    严格的运输安全
  • Referrer-Policy

    推荐人政策
  • Feature-Policy

    功能政策
  • Content-Security-Policy or Content-Security-Policy-Report-Only to disable inline scripts and styles.

    Content-Security-Policy或Content-Security-Policy-Report-Only可禁用内联脚本和样式。

缓存头 (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

    变化
  • Важно, чтобы сервер корректно отвечал на заголовки: If-Modified-Since и If-None-Match

    Важно,чтобысерверкорректноотвечалназаголовки:If-Modified-Since和If-None-Match

HTTP / 2 (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.

如今,服务器必须支持HTTP / 2。 默认情况下,该服务检查服务器的HTTP / 2。 如果您的服务器不支持HTTP / 2,则选择HTTP / 1.1。

翻译自:

浏览器标头查询

转载地址:http://cmbwd.baihongyu.com/

你可能感兴趣的文章
linux运行java单元测试,使用 Spring 进行单元测试
查看>>
Linux查看docker运行状态,linuxea: docker后台运行模式
查看>>
linux启动引导分区设置,Linux系统启动引导过程和服务控制
查看>>
深刻理解linux进程间通信 pdf,深刻理解Linux进程间通信.doc
查看>>
linux核查cpu,linux肿么查询cpu核心数
查看>>
linux视频对讲qt方案,QT下视频通话的实现
查看>>
dueros与linux 关系,【树莓派-dueros|开发日志】树莓派搭载dueros遇到的问题和意见...
查看>>
顺序串c语言,数据结构c语言实现定长顺序串
查看>>
linux 安装qq2014,Ubuntu14.04安装wine QQ
查看>>
android定位坑简书,Android 定位遇到的异常
查看>>
android udp开发,Android UDP
查看>>
html如何实现3d动画,[HTML5] HTML5 3D爱心动画及其制作过程
查看>>
html让控件垂直,css中实现元素垂直且水平居中的六种方法
查看>>
剔除所有html标签保留p标签,iOS-去掉字符串中的html标签的几种方法
查看>>
html $.post,jQuery $.post()方法的用法
查看>>
html hdr文件,hdr文件是什么?hdr和蓝光哪个清晰?
查看>>
再来一发!DB2 应用程序如何从数据库取数据 Fetch
查看>>
1.ThinkPHP目录结构
查看>>
DLL线程中坑爹的Synchronize?
查看>>
函数式编程
查看>>