Why the site to pseudo static, especially the Chinese webmaster
Static pages, access speed, included high quality, but will occupy a lot of storage space, and dynamic page is because the shortcomings of the Web site is not conducive to crawling search engine!
So, only now pseudo static, disguised as static URLs, with Dynamic Web page features!
But note that pseudo-static also has drawbacks, because each request requires a Web server rewrite module for transit, large request, will occupy a large number of system resources, of course, there are a lot of caching technology to solve!
As a webmaster, should know what their site is to achieve pseudo static
Code level, we will not discuss, after all, not as a webmaster should be in-depth
When we put the site to the space provider, to activate the site pseudo static, we need to know, space commercial is what server, now mainstream has Iis6,iis7/7.5,apache,nginx
Here are the pseudo-static implementation methods:
1. IIS6 and Previous editions
General use of isapi_rewrite this component to achieve pseudo static, its official website is
http://www.isapirewrite.com/
If the space Trader buys unlimited license, and it is enabled, it can be configured at the site level. htaccess, then as a user of us, can upload the site directly, generally can use
2. iis7/7.5
To Windows 2008 and above, IIS has integrated the rewrite module URL Rewrite, which is easy to use, Pseudo-static rules need to be written to the configuration file web.config, if the site only supports. htaccess's pseudo static rules allow the space trader to help convert to Web.config format
3. Apache
Apache rewrite using the module mod_rewrite, is generally open, suitable for most sites
4. Nginx
Nginx is a newer web system that is widely used in reverse proxies and also integrates rewrite functionality, and pseudo static rules can be converted
Summary: When we look for programmers to develop the site, or use the current open source website, to build the station, we need to consider
1. Pseudo-static functionality is required, if necessary, be sure to allow the programmer to develop a good pseudo static function, or select a pseudo static function of the program
2. When choosing a space business, should consult clearly, whether support pseudo static
3. When you open pseudo static, you should know your system is IIS6, or iis7/7.5, or Apache, or nginx, and then make the appropriate adjustments
Site pseudo static pros and cons, I hope this article can give you the webmaster to bring harvest, thank you
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.