How does phpzendframework generate static pages under zf? please specify solution ------------------ it seems that static page caching is not supported, only file caching is supported, if you want to do static page caching, you can do this $ str $ this-& gt; view-& gt; (index. phtml); file_put_contents (public php zendframework generates static pages
How to generate a static page under zf?
------ Solution --------------------
It seems that static page caching is not supported. only file caching is supported. you can do this if you need static page caching.
$ Str = $ this-> view-> ('index. phpml ');
File_put_contents ('public/html/index.html ', $ str );
OK
------ Solution --------------------
It seems that static page caching is not supported. only file caching is supported. you can do this if you need static page caching.
$ Str = $ this-> view-> render ('index. phpml ');
File_put_contents ('public/html/index.html ', $ str );
OK
------ Solution --------------------
Static... do you want to directly access the page instead of using zf after generation?
So you have to think about how to update the page, timing?