aim25 Posted August 28, 2007 Share Posted August 28, 2007 When dealing with a large amount of pages, is it better to dynamically create from the database then cache each page in a folder, or to dynamically create it using info from a database every time someone access's the page? help is appreciated. Thanks ahead of time. Link to comment https://forums.phpfreaks.com/topic/66966-solved-to-cache-or-not-to-cache/ Share on other sites More sharing options...
hitman6003 Posted August 28, 2007 Share Posted August 28, 2007 How often is the data updated? If it's frequently updated then your users have the potential to get out of date data, which is probably bad. Additionally, what do you mean by "a large amount of pages"? Every single time you click the mouse at this website, i.e. phpfreaks, it hits the database several times to generate the page, so unless you have an underpowered database, it shouldn't be that big of a deal to generate the page each time. Link to comment https://forums.phpfreaks.com/topic/66966-solved-to-cache-or-not-to-cache/#findComment-335821 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.