cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bhaskar Rathod <>
Subject Re: caching requests and pagination
Date Fri, 09 Jul 2004 17:35:14 GMT
for those who might be interested:
I took a simple route out. I request params in the session attribute and 
reused them. Also used redirects with keeping the session alive.

But I still am looking for caching solution.

Bhaskar Rathod wrote:

> I am fairly new to cocoon.
> I am working on a web application where, based on the request 
> parameters, I am generating output dynamically. I am using Paginator 
> to send this output page-by-page. For each page, I use xslt 
> transformation to generate proper html.
> The flow is as follows:
> Z:user-->{params}
> A:---> generate: myXSP using params;
> B:---> transform: paginate using pagesheet;
> C:---> transform using some beautification xsl
> D:---> serialize
> here's the problem(s) I am facing:
> I need to reuse the client's request params while paginating. But I 
> noticed that when the user wants next page, it essentially re-enters 
> the pipeline at Z. by this time, the initial request params are 
> vaporized. I am using [post] requests. So I can not just append 
> request params in page links in my beautification xsl. That may do the 
> trick with [get] requests. (or can I through sitemap?)
> Also, the solution has to be more on the lines of cached output as it 
> is not prudent in my case to rerun the whole output generation for 
> each page requests (and then throwing away a large chunk). Is writing 
> out the results on a disk file and parsing it through an xsl a good 
> way of doing it? (instead of using paginator?)
> I would appreciate any suggestions.
> Thanks.
> Bhaskar Rathod
> --------------------------------------------------------
> Bhaskar R. Rathod | Grad Student
> CS @ UNM
> --------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message