Hello all,

For the project I've been working on, I've created a new Model (by extending 
PageModel) that I want to use for rendering pages.  Specifically I've added it 
to the list of rendering.pageModels in my roller-custom.properties.  When the 
model gets initialized it makes database calls that take some time to complete, 
and its only going to tale longer as the DB gets bigger.  The data that the 
model gets from the DB will only change once a day at most, so I was wondering 
if there is a good way to cache this data?

>From what I've seen, roller can cache individual pages, which helps me out 
>somewhat.  But a lot of the pages won't be cached and so the model will go out 
>and get the same data over and over again from the DB.  Has anyone had similar 
>issues?  Is there a good solution?  Can roller cache the contents of models?  
>Is anyone else wondering how long I can keep stringing questions together?

Thanks!
/Brian

_________________________________________________________________
Make Windows Vista more reliable and secure with Windows Vista Service Pack 1.
http://www.windowsvista.com/SP1?WT.mc_id=hotmailvistasp1banner

Reply via email to