SuperMario290 Posted January 19, 2009 Share Posted January 19, 2009 Okay, I'm not a noob to php, or really any web development language, but I have a question for a client that I am working for. Here's what he asked: Is there a better way to cache web pages in PHP other than "Gather HTML either in a string or store it in the buffer -> write to file."? All I've known about caching is storing it in a string or buffer than writing to a file, so I was kind of stumped. If anyone can help me out on this, it would be greatly appreciated! Quote Link to comment https://forums.phpfreaks.com/topic/141397-caching-web-pages-in-php/ Share on other sites More sharing options...
MadTechie Posted January 19, 2009 Share Posted January 19, 2009 Well you have 2 types of caching.. ServerSide and ClientSide.. Client Side then you need to change the headers etc as for Server Side well you could use APC or Zend Cache.. other than that its going to be stored to a file in oneway or another. Quote Link to comment https://forums.phpfreaks.com/topic/141397-caching-web-pages-in-php/#findComment-740177 Share on other sites More sharing options...
SuperMario290 Posted January 19, 2009 Author Share Posted January 19, 2009 Thanks a lot for the information! Quote Link to comment https://forums.phpfreaks.com/topic/141397-caching-web-pages-in-php/#findComment-740276 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.