Jump to content

Recommended Posts

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.
Link to comment
https://forums.phpfreaks.com/topic/66961-caching-or-not/#findComment-335875
Share on other sites

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.

Link to comment
https://forums.phpfreaks.com/topic/66961-caching-or-not/#findComment-336004
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.