Property reference

sn_communities.enable_session_cache

Caches non-admin community users’ permissions in their sessions to determine access to forums and community artifacts. When enabled, permission changes take effect after logout and recomputation is reduced; the default false setting recomputes permissions on each request for current access data.

Default
false
Type
boolean
Application
Communities

Key questions about this property

The answers below summarize the purpose, scope, default effect, and review scenarios for this property.

What does it do? This property enables or disables session caching for user permissions in the Community Application, affecting how quickly permission changes are reflected for users.
What area does it affect? Community Application Performance
What does the default mean? The default value is "false", which means this behavior is disabled by default.
When should you review it? Review this property when optimizing community performance or managing user permissions.

Out of the box property record

Raw metadata from the property record.

Property name sn_communities.enable_session_cache
Sys ID bb3968bc87013200dd7756dfc0e3ec37
Type boolean
Application Communities
Default value false
Description This flag is used to decide whether to use the session caching for the Community Application. If the flag is true: The permissions of any non-admin users of the community will be stored as a part of the user's session and this value will be used to compute/determine the user's access to the various forums and community artifacts. While the user is active with that particular session, any changes to the community permissions will not take effect until the user logs out. Keep this flag set to 'true' if the system is not altered too soon in terms of permissions AND / OR there are significant performance concerns with the general load time of the various pages of the community. The cost of recomputation of the permissions is minimized here. If the flag is false: The session cache is not utilized to store the permissions, and every request will initiate the user permission computation. However, the data will always be accurate.
Updated 2017-09-12 02:13:57

Sources

Official references and nearby text excerpts where this property appears.

Context preview Snippet 1
... Type: integer • Default value: 3600 sn_communities.disable_terms_conditions_role Comma-separated list of roles that bypass the te sn_communities.edit_content_explicit_role Comma-separated list of roles with permission to • Type: string • Default value: n_communities.community_mod sn_communities.enable_session_cache Enables or disables session caching. True: The permissions of any non-admin users o access to the various forums and community co community permissions do not take effect until t False: ...

More in sn_communities

Other properties in the same namespace.

All 66 properties in sn_communities →