Performance Issue
Posted: Fri Nov 06, 2009 12:24 am
Hi All,
I have divided the whole page into different sections: Header, Content and the Footer.
In every pages, I have included the Header part and the Footer, it's a simple logic.
Now, the problem is in menu part, which I pull from the database and populates data into the Header part.
Every time, when the page loads, it has the Header section,It means it calls the database and populates the menu data.
I have used the MVC pattern. How can I cache the whole Header section, specially the menu data?
I am looking for the best way to cache it.
I have divided the whole page into different sections: Header, Content and the Footer.
In every pages, I have included the Header part and the Footer, it's a simple logic.
Now, the problem is in menu part, which I pull from the database and populates data into the Header part.
Every time, when the page loads, it has the Header section,It means it calls the database and populates the menu data.
I have used the MVC pattern. How can I cache the whole Header section, specially the menu data?
I am looking for the best way to cache it.