My question is: how do I use caching technologies
like Open Symphony and Jesi, which insert caching directives in the page
templates, when I use a MVC architecture, like Struts.
In MVC the page templates operates on THE RESULTS OF THE DATABASE QUERIES, and DOES NOT PERFORM THE QUERIES. If I cache at the level of the scripting code or custom tags, it is too late, the queries have already been executed by the action in the Model. More generally, if the page template is complex, normally queries must be executed BEFORE rendering the HTML, in the due order. How does caching of page fragments cope with this? Thanx Piero Fraternali
|
- Re: [MVC-Programmers] Caching and MVC Piero Fraternali
- Re: [MVC-Programmers] Caching and MVC Brett Porter
- Re: [MVC-Programmers] Caching and MVC Mike Cannon-Brookes