random1 Posted June 23, 2011 Share Posted June 23, 2011 Hey All, In my current PHP project I am putting all my HTML in a variable called $buffer and echoing that out at the end of the page generation. Is there an elegant way in PHP to cache generated pages to for example, pagename.htm with a timeout until it should get fresh page data? Link to comment https://forums.phpfreaks.com/topic/240177-html-caching-in-php/ Share on other sites More sharing options...
fugix Posted June 23, 2011 Share Posted June 23, 2011 I myself prefer using memcache. However there are ways to specify cache times using Meta tags http://us3.php.net/manual/en/book.memcache.php Link to comment https://forums.phpfreaks.com/topic/240177-html-caching-in-php/#findComment-1233674 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.