aim25 Posted August 28, 2007 Share Posted August 28, 2007 When dealing with a large amount of pages, is it better to have them made and saved (cached), or to have them dynamically created every time? Quote Link to comment https://forums.phpfreaks.com/topic/66961-caching-or-not/ Share on other sites More sharing options...
Eric_Ryk Posted August 28, 2007 Share Posted August 28, 2007 When dealing with a large amount of pages, is it better to have them made and saved (cached), or to have them dynamically created every time? Caching certainly does take quite a bit of load off of the server. It is definitely quicker, but it's good to make an efficient caching system that doesn't stay overly static. Also, there are different levels that you can cache at, mainly two, the views and the query results from databases. Either level of these will speed up your pages. Quote Link to comment https://forums.phpfreaks.com/topic/66961-caching-or-not/#findComment-335875 Share on other sites More sharing options...
448191 Posted August 28, 2007 Share Posted August 28, 2007 The short answer: caching. And not just whole pages or DB results, also part of views and objects. If you construct objects from store, whether it be a RDBMS or an XML file or something else, it's usually worth caching them. Note that RDBMS usually have a result caching system of their own. Quote Link to comment https://forums.phpfreaks.com/topic/66961-caching-or-not/#findComment-336004 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.