WebsiteBaker 2.13.9 R22 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<?php$cacheFile=$_SERVER['DOCUMENT_ROOT']."/pages".get_page_link(PAGE_ID).".html";if (file_exists($cacheFile)) {readfile($cacheFile);exit;} else { ob_end_clean(); ob_start();} ?><!DOCTYPE html><head></head> <body>.........</body></html><?php$buffer = ob_get_contents();ob_end_flush();$fp = fopen($cacheFile, "w");fwrite($fp, $buffer);fclose($fp);?>