bitrix-caching

Installation
SKILL.md

Caching in Bitrix

Cache Levels

  1. Unmanaged Cache (Bitrix\Main\Data\Cache) — with TTL, key, and path. Cleared automatically by TTL and manually.
  2. Managed Cache (ManagedCache) — lives until explicit invalidation, convenient for "rarely changing" data.
  3. Tagged Cache (TaggedCache) — keys are grouped by tags; invalidating one tag clears all associated entries.
  4. ORM Cache — automatic: isCacheable() in the tablet + ['cache' => ['ttl' => ...]] in getList.
  5. Component Cache — via startResultCache() / endResultCache() and parameters CACHE_TYPE, CACHE_TIME, CACHE_GROUPS.
  6. Composite Cache — HTML cache of the entire page (Bitrix\Main\Composite\Engine).

Configuration in .settings.php

Installs
152
GitHub Stars
31
First Seen
Jul 16, 2026
bitrix-caching — bxmaximum/bitrix-framework-skills