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? Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/240177-html-caching-in-php/#findComment-1233674 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.