What problem does it solve?
Bitrix apps can suffer from excessive database queries and rendering overhead. This Skill provides layered caching strategies to dramatically reduce latency, improve response times, and simplify cache invalidation across components, ORM data, and composite pages.
Core Features & Use Cases
- Unmanaged cache (Bitrix\Main\Data\Cache) for time-bounded results.
- ManagedCache and TaggedCache for longer-lived or group-invalidated data.
- ORM caching via isCacheable() and getList cache options.
- Component caching with startResultCache/endResultCache and CACHE_* parameters.
- Composite cache for full-page performance and cache warm-up.
- Cache engine configuration in .settings.php (files, memcached, redis).
- Invalidation strategies via events and tags to maintain correctness.
Quick Start
Configure a cache engine in .settings.php, then wrap critical components with startResultCache/endResultCache to enable caching.