inspiredminds/contao-extended-cache-controls
最新稳定版本:1.0.2
Composer 安装命令:
composer require inspiredminds/contao-extended-cache-controls
包简介
Adds additional options to the page cache settings of Contao.
README 文档
README
Contao Extended Cache Controls
This adds more settings to the Cache settings of a Contao page. These settings can be useful for large sites to keep the HTTP cache size smaller by only caching the most relevant URLs (e.g. only canonical URLs, only URLs with no query parameters or only certain parameters etc.).
- Do not cache non-canonicals: Prevents caching if canonical URLs are enabled for this page and the current URL does not match the canonical URL.
- Do not cache query parameters: Prevents caching if query parameters are present in the URL.
- Allowed query parameters: Allows you to define allowed query parameters for the previous setting. If the URL contains a query parameter not present in this comma-separated list, it will not be cached.
- Do not cache fragment parameters: Prevents caching if fragment parameters are present in the URL, e.g.
/page-alias/foo/bar - Allowed fragment parameters: Allows you to define allowed fragment parameters for the previous setting. If the URL contains a fragment parameter not present in this comma-separated list, it will not be cached.
统计信息
- 总下载量: 1.52k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPL-3.0-or-later
- 更新时间: 2024-09-22