bitrix-storage
Installation
SKILL.md
Storage: Option, Feature, Persistent storage
Baseline: main 23.0+ · Verified: main 26.800.0
| Need | Use |
|---|---|
| Deploy-time config, secrets | .settings_extra.php / env (bitrix-settings) |
| Permanent admin-editable module setting | Config\Option + default_option.php |
| Feature toggle, gradual rollout per user | Config\Feature (Since main 26.700); older: Option Y/N |
| Server state that must live N seconds | PersistentStorageInterface (Since main 25.1100); older: own ORM table with an expiry column |
| Derived data, may vanish anytime | cache (bitrix-caching) |
| Per-visitor state | session (bitrix-sessions) |
| Large blobs | files (bitrix-files) |
Don't use Option for chatty runtime state (progress, tokens, checkpoints), cache for data that must survive, or Persistent storage for secrets.