The static page of php is somewhat limited. The following are my questions. I hope that the ob cache can be implemented statically. enable ob cache on the php page, receive the echo information on the php page, and save the dynamic page data as a static page description: 1. this website does not use MVC, and php pages are directly output. This website is too informal. 2. if the template technology is not used, and MVC is still not used, I feel that the static page of o php is somewhat limited.
The following are my doubts.
Ob cache is static. you can enable ob cache on the php page, receive the echo information of the php page, and save the data on the dynamic page as a static page.
Note:
1. this website does not use MVC, and php pages are directly output. This website is too informal.
2. the template technology is not used, and MVC is still not used, so ob is a little chicken.
I have always felt that ob is not streaming. Please correct me!
Share:
------ Solution --------------------
File_get_contents ($ url)
------ Solution --------------------
Reference:
The following are my doubts.
Ob cache is static. you can enable ob cache on the php page, receive the echo information of the php page, and save the data on the dynamic page as a static page.
Note:
1. this website does not use MVC, and php pages are directly output. This website is too informal.
2. the template technology is not used, and MVC is still not used, so ob is a little chicken.
I have always felt that ob is not streaming. Please correct me!
Generating OB may not be enabled
Get the content directly with file_get_contents ("http://bbs.csdn.net") to generate static
------ Solution --------------------
Mvc and static are two different things.
Mvc should be used.
Static Mode depends on the situation. If used, there is also a degree of static problems.