humanmade/the-cached-content
最新稳定版本:v0.1.0
Composer 安装命令:
composer require humanmade/the-cached-content
包简介
README 文档
README
This repository defines a template function to fragment-cache the entire the_content() output in a transient for a given post object.
Any block assets (scripts and styles) which are registered or enqueued during content rendering are tracked and stored in the same transient alongside the rendered content and re-injected into the global scripts registry when rendered content is used, so that conditional asset dependency includes like block scripts continue to work even when blocks are not ->render()d during page generation.
Installation
This project can be installed using Composer as humanmade/the-cached-content.
统计信息
- 总下载量: 2.09k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-12-17