> If its in the same request, and the same "query", Torque should cache
> the result... and save a DB hit.
Yes, that can really add up.
Speaking of logging, do you know how to do something like this:
if (logging enabled for debug)
Log.debug( "WebPagePortlet caching URL: " +
url +
" Expiration: " +
pageExpiration +
", " +
(pageExpiration - System.currentTimeMillis() ) +
" milliseconds into the future" );
So that we don't have to construct all parameters even when debug level
is off?
> -----Original Message-----
> From: Chris Kimpton [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 18, 2002 1:54 AM
> To: Jetspeed Developers List
> Subject: RE: Sql select statements in log
>
>
> Hi,
>
> --- David Sean Taylor <[EMAIL PROTECTED]> wrote:
> > I don't care about the logging, I can turn that off.
> > The part that concerns me is that we seem to be repeatly retrieving
> > the permissions and roles form the database on every request.
> >
>
> If its in the same request, and the same "query", Torque should cache
> the result... and save a DB hit.
>
> Chris
>
> =====
> ------------------------------------------
> http://www.soccer2002.org.uk
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Tax Center - online filing with TurboTax
> http://taxes.yahoo.com/
>
> --
> To unsubscribe, e-mail:
> <mailto:jetspeed-dev-> [EMAIL PROTECTED]>
> For
> additional commands,
> e-mail: <mailto:[EMAIL PROTECTED]>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>