https://github.com/centminmod/centminmod-inspect-fastcgi-cache
https://github.com/centminmod/centminmod-inspect-fastcgi-cache
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/centminmod/centminmod-inspect-fastcgi-cache
- Owner: centminmod
- Created: 2023-08-10T21:59:37.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-08-11T10:10:53.000Z (almost 3 years ago)
- Last Synced: 2024-12-31T01:41:56.918Z (over 1 year ago)
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Usage
```
./inspect_cache.sh --cache-path "/home/fastcgicache_wp/yourdomaincom"
```
For Centmin Mod LEMP stack with PHP-FPM fastcgi_cache with:
```
fastcgi_cache_key "$scheme$request_method$host$request_uri$http_accept_encoding";
```
Inspecting fastcgi_cache_path `/home/fastcgicache_wp/domaincom`
```
./inspect-fastcgi-cache.sh --cache-path /home/fastcgicache_wp/domaincom
===================================
-rw------- 1 nginx nginx 75K Aug 11 09:39 /home/fastcgicache_wp/domaincom/0/10/a49f738656cec91085332f8147512100
-----------------------------------
Contents:
a�d����������d
KEY: httpsGETdomain.com/tag/pagespeed/gzip
Content-Type: text/html; charset=UTF-8
X-UA-Compatible: IE=edge
Link: ; rel="https://api.w.org/"
Link: ; rel="alternate"; type="application/json"
===================================
-rw------- 1 nginx nginx 69K Aug 11 09:39 /home/fastcgicache_wp/domaincom/4/f4/52c7dcd0f913a6eb989c250725765f44
-----------------------------------
Contents:
b�d����������dE
KEY: httpsGETdomain.com/tag/sxg/gzip
Content-Type: text/html; charset=UTF-8
X-UA-Compatible: IE=edge
Link: ; rel="https://api.w.org/"
Link: ; rel="alternate"; type="application/json"
```