About the static page of the problem: every 5 minutes to generate a new static page, in the old and new page replacement process, the client will not occur 404 exception
Source: Internet
Author: User
About the page static problem: every 5 minutes in the background to generate a new static page, in the new and old page replacement process, the client will not occur 404 error?
Questions about page statics: Generate new static pages every 5 minutes,
New Page generation is, definitely need to remove the old page from disk, replace the mean page.
Will the client have a 404 error during the replacement of the old and new pages?
How to solve this problem?
------to solve the idea----------------------
No 404 errors occur
------to solve the idea----------------------
Although the content has changed, but the file name is not still there?
------to solve the idea----------------------
No errors, no more content
Please do not be on the table to contemplate, computer science is industrious science, only hands, will have the harvest
------to solve the idea----------------------
There's no way to avoid it, who wants you to write a file for 10 minutes?
You update the static file every 5 minutes, and it takes 10 minutes to write a file, so you can think about
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.