We know that there are many things worth learning about IIS servers. Here we mainly introduce some principles of using IIS servers, including rewriting URLs, detecting browsers, compressing site content, and tuning servers. Let's take a look!
Rewrite URLs
Apache advocates have always boasted about the powerful functions of mod_rewrite. Currently, there are so many products used for IIS servers, many of which are easier to use than mod_rewrite. Because mod_rewrite is used, you must be familiar with regular expressions. Try IISWrite or ISAPI rewrite.
Browser Probe
It is silly to assume that everyone who browses the site uses the same browser or screen size. You can use java to detect the visitor's browser.
If you are using an IIS server, you will have a better choice-BrowserHawk of Cyscape, which is not compared with Apache. Cyscape recently launched a new product called CuntryHawk, which can be used to detect the countries in the region where visitors are located ). Unfortunately, so far, I have no language-sensitive or regional-sensitive content to use.
Site content Compression
IIS Server 5 has a built-in compression function. To be honest, it is just terrible. Use pipeboost.
Tuning Server
Tuning the IIS server is not a small question and requires a monograph to explain it. There are some good basic tutorials and help on the Internet, such as Brett Hill and Microsoft's own knodge DGE Base article. Of course, if you don't want to spend the time, use this -- XTune.
Here, we will introduce part of this article. I hope you can learn more about IIS servers.