[opencms-dev] Reduce calls to DB

Achim Westermann achim.westermann at gmx.de
Sat Feb 19 12:32:35 CET 2011


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



More information about the opencms-dev mailing list