[Building Sakai] Cache settings documentation

Paul Dagnall pdagnall1 at udayton.edu
Mon Sep 9 11:11:29 PDT 2013


Is there documentation about the caching settings in Sakai 2.9? I found
some Jiras that mention the settings but no full explanations. If not,
perhaps this thread can be the start.

Would anyone care to share some guidelines for these settings from
sakai.properties?

# ########################################################################
# CACHE
# ########################################################################

# AUTHZ cache - Minutes to cache each security question in the
SecurityService; set to 0 to disable caching.
cacheMinutes at org.sakaiproject.authz.api.SecurityService=3

# SITE cache - Minutes to cache each site (site, page, tool) access in the
SiteService; set to 0 to disable caching.
cacheMinutes at org.sakaiproject.site.api.SiteService=3

# User cache - ehcache default overrides (params = timeToLiveSeconds,
timeToIdleSeconds, maxElementsInMemory)
memory.org.sakaiproject.user.api.UserDirectoryService.callCache=timeToLiveSeconds=3600,timeToIdleSeconds=900,maxElementsInMemory=20000

# JLDAP cache - ehcache default overrides (only meaningful if using the
JLDAP provider)
#edu.amc.sakai.user.JLDAPDirectoryProvider.userCache=timeToLiveSeconds=14400,timeToIdleSeconds=3600,maxElementsInMemory=20000

# Cache authentication to improve DAV performance for provided users.
# A maximumSize of 0 disables the cache. The cache is disabled by default.
# maxElementsInMemory at memory.org.sakaiproject.user.impl.AuthenticationCache
=500

# Cache timeout for successful login-password combos.
# Cache timeout for failed login-password combos. (same timeout for success)
# timeToLive at memory.org.sakaiproject.user.impl.AuthenticationCache=120000

Thanks!

Paul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20130909/5eb8d87e/attachment.html 


More information about the sakai-dev mailing list