schranz/psr6-symfony-http-cache-store-analyser 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-10-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固