How to dynamically generate static pages under IIS

Source: Internet
Author: User

Recently, many people have talked about generating static pages. I personally think that these people are basically not programmers and will never become programmers. They despise those who are not doing anything for nothing. As for friends who are actually learning programming, advise you not to learn these lessons if the program has not been written ......

As for how dynamic websites are implemented statically, I will post an article from someone else here. I hope you will understand what is going on.

And so on. Static pages are directly sent to the client without being processed by the server. Dynamic Pages must be parsed on the server before being sent to the client.

Benefits of using static pages:1. Static pages can be easily indexed by search engines. In general, the search engine's PageRank for static pages is higher than that for dynamic pages (this is not absolute, but mainly depends on the content quality of the website ). 2. Access to static pages is faster. The reason is that the static page accessed by the user exists physically, and the server only forwards the page. 3. High portability of static pages. Disadvantages of using static pages:1. Interactive requests cannot be met. 2. The page cannot be automatically updated. 3. It will waste a lot of physical resources. 4. It is difficult to manage and retrieve information. Static web page compromise:1. For pages with few changes, static pages are used. dynamic pages are used with frequent changes or with more request parameters. 2. Use URL rewrite or pseudo-static Web page technology to convert users' dynamic URLs into static ones. 3. Use File Storage Technology to directly generate static pages when information is published.

In IIS, how does one dynamically generate static pages for client access? 

For iis5.0 or 6.0, dynamic technologies such as ASP and JSP can be used during website development, and the conversion of client access requests can be realized through URL rewrite, so that users can access dynamic pages statically. In this way, a large amount of HTML is generated on the surface, and the access is in the form of/articles/12345.html. However, the server still processes/Article. asp? Id = 12345.

URL rewrite component under IIS 5.0/6.0:

In IIS 5.0/6.0, you can use abc_rewrite or other third-party URL rewrite components.

Abc_rewrite for IIS 5.0/6.0 official download:

Http://www.jrsw.com/iis/download/index.asp

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.