When is the webpage static? Solution

Source: Internet
Author: User
When is the webpage static? An IT navigation launched yesterday saw SEO knowledge. I decided to make the pages static and improve access efficiency. I made the page into a template, and then wrote a page call template to generate a new html. But every time I access the static page, I can update the page. I also thought about calling static page updates every time I add new content. Here, I would like to ask you how to deal with it? The website is hao123it.com ------ solution webpage static, when static?
An IT navigation launched yesterday saw SEO knowledge. I decided to make the pages static and improve access efficiency. I made the page into a template, and then wrote a page call template to generate a new html. But every time I access the static page, I can update the page. I also thought about calling static page updates every time I add new content. Here, I would like to ask you how to deal with it? The URL is hao123it.com.

------ Solution --------------------
For navigation websites, all the content update permissions are in their own hands, so you only need to re-generate the static page every time the content is updated.
------ Solution --------------------
LZ can take a look at php's Smarty template engine. the first time a static page is generated, it will be accessed every time.
------ Solution --------------------
Http://blog.csdn.net/yizhu2000/archive/2008/09/01/2863324.aspx
Let's take a look at this article.
------ Solution --------------------
All go back to the Chinese New Year. You are static. for example, you can use static
------ Solution --------------------
You can take a look at php's Smarty template engine. the first time you generate a static page, you can access the static page every time you access it.
For details, refer to the 114 navigation website, which is implemented in this example.
------ Solution --------------------
Discussion
Reference:

You can take a look at php's Smarty template engine. the first time you generate a static page, you can access the static page every time you access it.
For details, refer to the 114 navigation website, which is implemented in this example.

Is the homepage updated frequently?

------ Solution --------------------
Some images cannot be displayed. to view the complete image version, visit:

Http://blog.csdn.net/yizhu2000/archive/2008/09/01/2863324.aspx
------ Solution --------------------
1. time stamp triggering
The current time is later than the last modification time of the file plus the Expiration Time
2. content update trigger
Triggered when content changes
3. manual triggering
Manual update
------ Solution --------------------
Is it static to generate html for the website?

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.