[opencms-dev] Reduce calls to DB
Tom Wolf
twb15 at hotmail.com
Sat Feb 19 15:14:48 CET 2011
Thanks Achim,
I was only trying to retrieve a single jsp file directly, without a template attached.
I think the OCEE accelerator is what I need.
> Date: Sat, 19 Feb 2011 12:32:35 +0100
> From: achim.westermann at gmx.de
> To: opencms-dev at opencms.org
> Subject: Re: [opencms-dev] Reduce calls to DB
>
> Could be that you are setting the property cache on the content page
> (below sites), which I have seen often. It has to be set on all jsps
> (below /system/moduels/<mymodule>/...) that are incorporated in
> rendering your content pages.
>
> HTH,
> Achim
>
>
> On 02/19/2011 10:49 AM, Tom Wolf wrote:
> > It seems like even if I have a single page and I mark it as "cache:
> > always" - each request for this page will need to first query the DB
> > (even after it is cached).
> >
> > This is a problem for heavy load sites - is there anything I can do to
> > allow the request to be served directly from the cache (unless it
> > doesn't exist)?
> >
> > Thanks
> >
> >
> >
> >
> > _______________________________________________
> > This mail is sent to you from the opencms-dev mailing list
> > To change your list options, or to unsubscribe from the list, please visit
> > http://lists.opencms.org/mailman/listinfo/opencms-dev
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110219/43e2b225/attachment.htm>
More information about the opencms-dev
mailing list