cold-egg/lscache-typo3
Composer 安装命令:
composer require cold-egg/lscache-typo3
包简介
LiteSpeed Cache integration for TYPO3
关键字:
README 文档
README
LiteSpeed Cache integration for TYPO3.
This extension emits LiteSpeed Cache response headers for frontend requests and automatically purges LSCache when TYPO3 caches are flushed.
Features
- Adds
X-LiteSpeed-Cache-Controlbased on TYPO3 cacheability. - Adds
X-LiteSpeed-Tagderived from TYPO3 cache tags (plus page and site tags). - Adds
X-LiteSpeed-Varyfor cookie-based variations. - Purges LSCache automatically on TYPO3 cache flush events.
- Purges LSCache for specific pages when TYPO3 clears a page cache.
Requirements
- TYPO3 12.4+
- PHP 8.1+
- OpenLiteSpeed or LiteSpeed Web Server with LSCache enabled
Installation
composer require cold-egg/lscache-typo3
Activate the extension in the TYPO3 Extension Manager.
Configuration
Go to Admin Panel → Settings → Extension Configuration → lscache.
| Setting | Default | Description |
|---|---|---|
enabled |
1 |
Enable/disable all LSCache headers |
cacheControl |
public |
Cache-Control mode for anonymous users (public|private) |
defaultMaxAge |
3600 |
Fallback max-age in seconds when TYPO3 provides no lifetime |
loggedInBehavior |
no-cache |
Behavior for logged-in frontend users (no-cache|private) |
tagPrivateResponses |
0 |
Whether to add tags to private responses |
addPageIdTag |
1 |
Add a t3_page_X tag to every cached response |
tagPrefix |
t3 |
Prefix applied to all cache tags |
extraTags |
(empty) | Additional tags to emit on every response (comma-separated) |
maxTags |
100 |
Maximum number of tags per response |
maxHeaderLength |
4096 |
Maximum byte length of the X-LiteSpeed-Tag header |
varyCookies |
(empty) | Cookies to vary on (comma-separated) |
Web Server
Ensure LSCache is enabled for the site. Example (virtual host or .htaccess):
CacheLookup public on
cold-egg/lscache-typo3 适用场景与选型建议
cold-egg/lscache-typo3 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 429 次下载、GitHub Stars 达 2, 最近一次更新时间为 2026 年 03 月 12 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「cache」 「typo3」 「litespeed」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 cold-egg/lscache-typo3 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 cold-egg/lscache-typo3 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 cold-egg/lscache-typo3 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
repository php library
A WordPress CLI plugin for clearing all LiteSpeed cache entries.
Set Links with a specific language parameter
A framework agnostic Litespeed cache library for PHP. Can be used in any PHP application.
TYPO3 CMS extension to create gallery content element with preset crop ratios and pagination
Test the capabilities of .htaccess files on the server using live tests
统计信息
- 总下载量: 429
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 26
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2026-03-12