I was wondering how the main page renders in 0.01 seconds with all the possible queries while in an uncommented news (read more... part) the time to render is something like 0.4 seconds.
Am I correct in assuming that the main page is an include of a static page updated everytime a news has been added/edited/deleted.. or when a comment has been posted/deleted.... (not manually but through a function). The static page being created by a simple function using another dynamic page to decrease the ammount of queries?
Question
rayper
I was wondering how the main page renders in 0.01 seconds with all the possible queries while in an uncommented news (read more... part) the time to render is something like 0.4 seconds.
Am I correct in assuming that the main page is an include of a static page updated everytime a news has been added/edited/deleted.. or when a comment has been posted/deleted.... (not manually but through a function). The static page being created by a simple function using another dynamic page to decrease the ammount of queries?
Link to comment
Share on other sites
2 answers to this question
Recommended Posts