[Zope] Catalog query time

Paul Winkler pw_lists at slinkp.com
Fri Mar 19 11:31:53 EST 2004


On Fri, Mar 19, 2004 at 08:48:24AM -0500, Kevin Carlson wrote:
> Now for some new strangeness that I noticed. If I keep the catalog 
> queries in the code and run the page from within the ZMI, it renders 
> fine.  In fact, it returns almost immediately.  That got me thinking 
> about one other item that may cause this.  I am using a SiteAccessRule 
> that is checking the domain name in the URL and calling setupSkin.  
> Could that be causing this strange behavior?

Maybe. IIRC, there were performance issues with using setupSkin
as you describe. I don't remember what the issue was exactly.
With CMF 1.3.1 or later, you should use changeSkin instead.

An easy way to check would be to uncomment this line in your 
zope.conf, and then restart:
#    suppress-all-access-rules on

-- 

Paul Winkler
http://www.slinkp.com
Look! Up in the sky! It's THE NEW VOLUPTOUS 1-900!
(random hero from isometric.spaceninja.com)



More information about the Zope mailing list