nginx.conf中设置的fastcgi缓存的key如下
fastcgi_cache_key $request_method://$host$request_uri;
举例,有这么一个URL
http://levi.cg.am/archives/3066
请问如何用PHP得到缓存的文件名称
备注:
我试过这么写,但是不对
md5('http://levi.cg.am/archives/3066');
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
用echo 模块调试变量