drupal-lazy-builders
OfficialCache dynamic content safely with lazy builders.
Authorsparkfabrik
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Drupal lazy builders enable deferring rendering of dynamic or personalized content, allowing pages to be cached while placeholders are used to replace content later.
Core Features & Use Cases
- Lazy builders defer rendering of dynamic content inside render arrays to keep caches valid.
- TrustedCallbackInterface support ensures secure invocation of lazy builders.
- Auto-placeholdering with '#create_placeholder' isolates non-cacheable content and improves authenticated user performance.
- BigPipe integration and per-user or per-session caching contexts help scale personalized experiences.
Quick Start
Create a render array item using '#lazy_builder' with a placeholder to isolate dynamic content behind a cacheable boundary.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: drupal-lazy-builders Download link: https://github.com/sparkfabrik/sf-awesome-copilot/archive/main.zip#drupal-lazy-builders Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.