3.16.7. Calendar caches

eXo Platform provides 6 Calendar caches, including:

You can change values of these Calendar caches in the following files. See Configuration overview for how-to.

# == CALENDAR Caches Configuration == #

# Calendar Cache Configuration - Group Calendar
#  - Standalone (time to live in seconds)
exo.cache.calendar.GroupCalendarCache.Capacity=1000
exo.cache.calendar.GroupCalendarCache.TimeToLive=3600

# Calendar Cache Configuration - Group Calendar Event
exo.cache.calendar.GroupCalendarEventCache.Capacity=1000
exo.cache.calendar.GroupCalendarEventCache.TimeToLive=3600

# Calendar Cache Configuration - Group Calendar Recurrent Event
exo.cache.calendar.GroupCalendarRecurrentEventCache.Capacity=1000
exo.cache.calendar.GroupCalendarRecurrentEventCache.TimeToLive=3600

# Calendar Cache Configuration - User Calendar
exo.cache.calendar.UserCalendarCache.Capacity=1000
exo.cache.calendar.UserCalendarCache.TimeToLive=3600

# Calendar Cache Configuration - User Calendar Setting
exo.cache.calendar.UserCalendarSettingCache.Capacity=1000
exo.cache.calendar.UserCalendarSettingCache.TimeToLive=3600

# Calendar Cache Configuration -Event Categories
exo.cache.calendar.EventCategoriesCache.Capacity=1000
exo.cache.calendar.EventCategoriesCache.TimeToLive=3600

The specific configuration of each Calendar cache can be found in:

GroupCalendarCache

The GroupCalendarCache caches the Calendar objects. This object contains metadata information of a calendar, such as calendar name, time zone, permissions. When any users access the cached group calendar, the metadata of this group calendar will be retrieved from cache rather than the database.

UserCalendarCache

The UserCalendarCache caches the Calendar object. When any users access the cached user calendar, the metadata of this user calendar will be retrieved from cache rather than the database.

GroupCalendarEventCache

The GroupCalendarEventCache caches information about events, for example, summary, datetime, invitations, attachments. When any users show content of a group calendar (for example, its events, tasks) for the first time, a query will be made, then put the result to the cache. When another users access the cached content, its data will be retrieved from cache rather than the database.

GroupCalendarRecurrentEventCache

The GroupCalendarRecurrentEventCache caches information about recurring events, for example, summary, datetime, invitations, and attachment. When any users show content of a group calendar that contains the recurring event (for example, its events, tasks) for the first time, a query will be made, then put the result to the cache. When another users access the cached content, the data query will be retrieved from cache rather than the database.

UserCalendarSettingsCache

The UserCalendarSettingsCache caches information about calendar settings, such as datetime format, calendar filter, view types. When the user needs calendar settings, such as access to calendar page and need to render current view (month view, week view), a query is made and put the setting information to the cache. If another users access the cached calendar settings, the data will be directly retrieved from cache rather than the database.

EventCategoriesCache

The EventCategoriesCache caches event category names and Ids. When an event category is called for the first time, a query is made and data is put into the cache. For next time, when another users call the cached event category, its data will be retrieved from cache rather than the database.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus