English 中文(简体)
Browser 特征探测与NGIssel
原标题:Browser Feature Detection with NGINX
  • 时间:2012-04-06 00:51:24
  •  标签:
  • http
  • nginx

是否有任何人知道NGIssel的花 the,使服务器能够根据浏览器的特征提供具体档案? 例如:

if(Browser.Features.CSS3) {
  url.rewrite .../super_combined_css.css
}
else {
  url.rewrite .../basic_combined_css.css
}

我假定,现在的浏览器清单只是一些类别(例如:CSS3支持、CSS分析、SVG支持等)。 一旦提出要求,它就只是分析用户-代理人,以显示浏览器属于哪类。

任何想法?

最佳回答

还没有发现物料或第三方。 然而,你可以使用这一模块探测现代或古老的浏览器:

http://wiki.nginx.org/HttpBrowserModule

<>>>>>

Find the new docs here!

问题回答

暂无回答




相关问题
How to set response filename without forcing "save as" dialog

I am returning a stream in some response setting the appropriate content-type header. The behavior I m looking for is this: If the browser is able to render content of the given content type then it ...

Which Http redirects status code to use?

friendfeed.com uses 302. bit.ly uses 301. I had decided to use 303. Do they behave differently in terms of support by browsers ?

Does HttpWebRequest send 200 OK automatically?

Background: I am implementing Paypal IPN handler. This great article on Paypal states that I am required to send a 200 OK back to Paypal after I read the response. The processing of IPN request is ...

Java HTTPAUTH

我试图把桌面应用程序连接起来,我是同D.icio.us api @ Delicious Alan书写的,简单地向他们提供我的用户名和密码,并请他把书记上写给我......。

Finding out where curl was redirected

I m using curl to make php send an http request to some website somewhere and have set CURLOPT_FOLLOWLOCATION to 1 so that it follows redirects. How then, can I find out where it was eventually ...

热门标签