【发布时间】:2020-02-20 06:46:54
【问题描述】:
$hash = '123456789';
$fileName = "test.{$hash}.html";
最终的目录结构如下。
te/st/.1/23/45/67/test.123456789.html
它只是将文件名分解为两个字符的目录,留下路径 test.123456789 中的最后 2 个字符
【问题讨论】:
标签: recursion caching directory phalcon
$hash = '123456789';
$fileName = "test.{$hash}.html";
最终的目录结构如下。
te/st/.1/23/45/67/test.123456789.html
它只是将文件名分解为两个字符的目录,留下路径 test.123456789 中的最后 2 个字符
【问题讨论】:
标签: recursion caching directory phalcon
为了防止too many files in one folder 错误。
参见https://docs.phalcon.io/4.0/en/cache#stream。
【讨论】: