如何知道服务器是否正在运行Node.js?

我想知道w3techs如何知道给定服务器何时使用Node.js.
http://w3techs.com/technologies/details/ws-nodejs/all/all

我猜它们会看一些特定的http标头.

例如:X-Powered-By:Express

但并非每个节点模块都会生成此类标头.

您是否知道流行节点模块生成的任何其他方式或类似指纹?

解决方法

正如@brad,@ jessie-a-morris,@ tknew的评论已经指出的那样,没有易于使用的方法可以在您自己的分析器中轻松重复使用.

引自w3techs自己的信息:

http://w3techs.com/faq特别是章节“您的网站分析器究竟如何工作?”说明

…We search for specific patterns in the web pages that identify the usage of technologies,similarly to the way a virus scanner searches for patterns in a file to identify viruses. We use a combination of regular expressions and DOM traversal for this search. We have identified several thousand indicators for technology usage. These indicators have different priorities,and based on the presence or absence of specific combinations of indicators in a specific context,we come to our conclusions.

These are examples of the information used by the indicators:

  • HTML elements of web pages
  • Specific HTML tags,for example the generator meta tag
  • JavaScript code
  • CSS code
  • The URL structure of a site
  • Offsite links
  • HTTP headers,for example cookies
  • HTTP responses to specific requests,for example compression

A lot of research was necessary to build the analyzer,and we keep improving it all the time. We want it to be the best possible website analyzer…

并且http://w3techs.com/disclaimer指出了这一点

…In order to obtain any information from websites,we rely on the websites themselves,their owners or their webmasters to provide such information. Some websites are more open to sharing this type of information than others. Some technologies may provide more means to reveal information about their usage than others…

更多“我们可能不会”,“在某些情况下”,“某些技术”,“不准确的结果”如下

相关文章

这篇文章主要介绍“基于nodejs的ssh2怎么实现自动化部署”的...
本文小编为大家详细介绍“nodejs怎么实现目录不存在自动创建...
这篇“如何把nodejs数据传到前端”文章的知识点大部分人都不...
本文小编为大家详细介绍“nodejs如何实现定时删除文件”,内...
这篇文章主要讲解了“nodejs安装模块卡住不动怎么解决”,文...
今天小编给大家分享一下如何检测nodejs有没有安装成功的相关...