you are right thats not handy.
I made it just like we do with resources
have a special overridable protected method that is called setHeaders() on
WebPage

Can you open an jira issue for this so that this is being shown as a change?

johan



On 11/1/07, John Patterson <[EMAIL PROTECTED]> wrote:
>
> That is already overridden by WebPage which adds the headers.  It
> also calls super which looks necessary.  So how can I override this
> but still have the Page.configureResponse() called?
>
> On 31 Oct 2007, at 13:20, Matej Knopp wrote:
>
> > Override Page.configureResponse() and add the flags you want there.
> >
> > -Matej
> >
> > On 10/31/07, John Patterson <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >>
> >> I notice that Pragma no-cache is set for every WebPage and I cannot
> >> see how I can turn it off for my bookmarkable stateless pages could
> >> would benefit from being cached.
> >>
> >> Cheers,
> >>
> >> John
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to