Documentation
README
Caching in Bitrix
Cache Levels
- Unmanaged Cache (
Bitrix\Main\Data\Cache) — with TTL, key, and path. Cleared automatically by TTL and manually. - Managed Cache (
ManagedCache) — lives until explicit invalidation, convenient for "rarely changing" data. - Tagged Cache (
TaggedCache) — keys are grouped by tags; invalidating one tag clears all associated entries. - ORM Cache — automatic:
isCacheable()in the tablet +['cache' => ['ttl' => ...]]ingetList. - Component Cache — via
startResultCache()/endResultCache()and parametersCACHE_TYPE,CACHE_TIME,CACHE_GROUPS. - Composite Cache — HTML cache of the entire page (
Bitrix\Main\Composite\Engine).
Configuration in .settings.php
This is the opening of the README. Read the full README on GitHub.