2.13.7. Calendar caches

eXo Platform provides 6 Calendar caches, including:

These Calendar caches are defined in the configuration.properties file.


# CALENDAR Caches Configuration#
# Calendar Cache Configuration - Group Calendar
#  - Standalone (time to live in seconds)
 cache.exo.calendar.GroupCalendarCache.Capacity=1000
 cache.exo.calendar.GroupCalendarCache.TimeToLive=3600
# Calendar Cache Configuration - Group Calendar Event
cache.exo.calendar.GroupCalendarEventCache.Capacity=1000
cache.exo.calendar.GroupCalendarEventCache.TimeToLive=3600
# Calendar Cache Configuration - Group Calendar Recurrent Event
cache.exo.calendar.GroupCalendarRecurrentEventCache.Capacity=1000
cache.exo.calendar.GroupCalendarRecurrentEventCache.TimeToLive=3600
# Calendar Cache Configuration - User Calendar
cache.exo.calendar.UserCalendarCache.Capacity=1000
cache.exo.calendar.UserCalendarCache.TimeToLive=3600
# Calendar Cache Configuration - User Calendar Setting
cache.exo.calendar.UserCalendarSettingCache.Capacity=1000
cache.exo.calendar.UserCalendarSettingCache.TimeToLive=3600
# Calendar Cache Configuration -Event Categories
cache.exo.calendar.EventCategoriesCache.Capacity=1000
cache.exo.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