[Zope] Screwy permissions problem has me stumped
Andrew Milton
akm at theinternet.com.au
Fri Mar 24 12:53:58 EST 2006
+-------[ Kirk Strauser ]----------------------
| On Thursday 23 March 2006 21:24, Andrew Milton wrote:
|
| > Every TAL call pretty much creates a new security context, which is why
| > it's hitting the DB so often (this is why it's best to turn on caching in
| > XUF even for 5 or 10 seconds if you're using a 'slow' auth mechanism).
|
| In the "Paramaters" tab in my XUF acl_users folder, I have:
|
| Credential Cache Timeout in Seconds (0 for No Caching) : 30
| Negative Credential Cache Timeout in Seconds (0 for No Caching): 5
|
| and yet I'm still seeing several identical queries per second in my database
| logs. Shouldn't those settings enable the cache?
Yes, but, only if you're successfully logged in...
Negative cache prevents lookups on previously known bad users..
--
Andrew Milton
akm at theinternet.com.au
More information about the Zope
mailing list