mod_cache_disk定义最大磁盘使用量

时间:2016-02-23 19:55:00

标签: apache caching diskcache

我正在使用mod_cache_disk通过apache缓存一些数据,我有150gb可用但mod_cache_disk只缓存2gb。

我找不到显示磁盘使用情况的指令,我该怎么做? 我目前的配置是:

   CacheEnable disk /dash/
   CacheRoot "/var/cache/hls_cache"
   CacheDirLevels 5
   CacheDirLength 4
   CacheIgnoreCacheControl on
   CacheMaxExpire 86400
   CacheIgnoreQueryString on

1 个答案:

答案 0 :(得分:0)

我发现没有这样的指令,但有一个名为htcacheclean的工具可以执行我想要做的事情。

链接可以在这里找到:https://httpd.apache.org/docs/2.4/programs/htcacheclean.html

相关问题