My application has an MVC structure.
Is it sufficient to only cache the model objects that are passed to the JSP views?
Or will there be a significant performance boost from caching the results of the rendering of the JSP views too?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I will not go into detail. Assuming that you know what you are doing.
Now to answer your question simply. We don’t cache JSP views. As a normal practice, we cache database results for the queries which are gonna be used extensively. By the way, how are you planning to cache your JSP views?