i just received an order to build a website using drupal 7 and the most difficult part is "to generate static html page for nodes/entities"
1.boost do not support drupal 7 , so , seems that i have to write a custom module .
2.i found that i have to hack core to accomplish :
include/common.inc/ function drupal_deliver_html_page($page_callback_result);
in this function , change line "print drupal_render_page($page_callback_result);" to the following two lines , and everything is fine
generate($s);//custom function , mainly fwrite
3.but the question is : are there anyway/hook to avoid hacking core ?