- Compatible XF 2.x versions
- 2.2
- 2.3
- Additional requirements
- php 7.2+
Standard Library by Xon v1.20.0+ (free)
Require Redis Cache v2.17.0+
Redis (v3.0.0 or better)
phpredis (for performance)
- Updates duration
- 12 Months ($25 Yearly Renewal + GST for Australian Residents)
- Visible branding
- No
Vastly increases the speed for rebuilding permissions when large numbers of user-groups and nodes exists.
Precomputed permissions are fetched from redis and not MySQL, reducing data required from MySQL and removing a number of joins. This can also fully-remove XenForo needing to repeatedly query for per-content type permissions (N+1 query behavior).
Support the cache context
Criteria for use of this add-on
Requirements
Cache invalidation
Default values are:
Precomputed permissions are fetched from redis and not MySQL, reducing data required from MySQL and removing a number of joins. This can also fully-remove XenForo needing to repeatedly query for per-content type permissions (N+1 query behavior).
Support the cache context
permComboIds
Criteria for use of this add-on
Requirements
- Requires php 7.2+
- Requires XenForo 2.2+
- Requires Redis Cache v2.15.4+ due to active selective cache invalidation
Cache invalidation
- Editing permissions for user-group/user/moderators
- Add-on installed/upgraded/uninstalled
- Any automated process which touches;
\XF\Service\UpdatePermissions::triggerCacheRebuild()
\XF\Entity\User::rebuildPermissionCombination()
\XF\Permission\Builder::rebuildCombination()
Default values are:
PHP:
// time in seconds to cache entries for
$config['permissionCache']['cache_time'] = 7 * 86400;
// Prune 'false' entires, as this can be accurately represented with an absence
$config['permissionCache']['sparse'] = true;
- Related resources