schranz/psr6-symfony-http-cache-store-analyser
Composer 安装命令:
composer require schranz/psr6-symfony-http-cache-store-analyser
包简介
Analyse what URL and Tags are stored in toflar/psr6-symfony-http-cache-store HTTP Cache store.
README 文档
README
Analyse what URL and Tags are stored in toflar/psr6-symfony-http-cache-store HTTP Cache store.
Usage
composer require schranz/psr6-symfony-http-cache-store-analyser
Copy your http_cache directory into var directory so its available under var/http_cache/@.
Run the analyser:
vendor/bin/analyse var/http_cache
Output is something like this:
URL: https://example.org/ CACHE-CONTROL: max-age=240, public, s-maxage=86400 EXPIRES: Sat, 15 Oct 2022 21:56:32 GMT X-REVERSE-PROXY-TTL: 86400 FOS-SMAXAGE-BACKUP: 240 TAGS (2): media-1,page-2 QUERIES (4): - - ?utm_campaign=some&utm_content=content&utm_medium=newsletter&utm_source=anysource - ?page=1 - ?page=2 ------------------------------------------------------------------------------------------------ URL: https://example.org/other CACHE-CONTROL: max-age=240, public, s-maxage=86400 EXPIRES: Sat, 15 Oct 2022 21:56:32 GMT X-REVERSE-PROXY-TTL: 86400 FOS-SMAXAGE-BACKUP: 240 TAGS (1): media-2 QUERIES (1): -
It is also possible to filter out a specific url only:
vendor/bin/analyse var/http_cache https://example.org/other
For a single url its also possible to get the raw unmarshalled ata via which shows you all headers and other infos:
vendor/bin/analyse var/http_cache https://example.org/other --raw
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-10-12