Allener

Allener

这家伙有点懒,还没写个性签名!

  • 财富值245
  • 威望值10
  • 总积分395

个人信息

  • 回复了 的回答

    runtime

    runtime这个目录不存在

  • 回复了 的回答

    这个要看你的cache是怎么配置的,查看config,比如存在redis里面

    // redis cache
    'cache' => [
                'class' => 'yii\redis\Cache',
                'redis' => 'redis'
            ],
    // db cache
    'dbCache' => [
                'class' => 'yii\caching\DbCache',
                'cacheTable'=>'dts_cache',
            ],
    // file cache
    'fileCache' => [
                'class' => 'yii\caching\FileCache',
            ],
    

    'cache' => [

    'class' => 'yii\caching\FileCache',
    

    ]使用的就是这个组件,无其他的配置文件,

  • 回复了 的回答

    这个要看你的cache是怎么配置的,查看config,比如存在redis里面

    // redis cache
    'cache' => [
                'class' => 'yii\redis\Cache',
                'redis' => 'redis'
            ],
    // db cache
    'dbCache' => [
                'class' => 'yii\caching\DbCache',
                'cacheTable'=>'dts_cache',
            ],
    // file cache
    'fileCache' => [
                'class' => 'yii\caching\FileCache',
            ],
    

    系统只有一个配置文件,我使用缓存也是用的这个cache组件。

  • 2017-10-30 已签到
    连续签到1天,获得了5个金钱
  • 回复了 的回答

    这个要看你的cache是怎么配置的,查看config,比如存在redis里面

    // redis cache
    'cache' => [
                'class' => 'yii\redis\Cache',
                'redis' => 'redis'
            ],
    // db cache
    'dbCache' => [
                'class' => 'yii\caching\DbCache',
                'cacheTable'=>'dts_cache',
            ],
    // file cache
    'fileCache' => [
                'class' => 'yii\caching\FileCache',
            ],
    

    现在的情况是,系统没有创建这个cache目录,而我使用了框架自带的缓存,现在我在runtime下手动创建了cache这个文件夹,我又重新生成一遍缓存,但是这个cache目录下还是空的,那现在的问题就是这缓存的数据存在了哪里 ?

  • 2017-10-26 已签到
    连续签到4天,获得了20个金钱
  • 2017-10-25 已签到
    连续签到3天,获得了15个金钱
  • 回复了 的回答

    这个要看你的cache是怎么配置的,查看config,比如存在redis里面

    // redis cache
    'cache' => [
                'class' => 'yii\redis\Cache',
                'redis' => 'redis'
            ],
    // db cache
    'dbCache' => [
                'class' => 'yii\caching\DbCache',
                'cacheTable'=>'dts_cache',
            ],
    // file cache
    'fileCache' => [
                'class' => 'yii\caching\FileCache',
            ],
    

    cache这个文件夹没有存在 我查询了整个YII下的目录。

  • 回复了 的回答

    这个要看你的cache是怎么配置的,查看config,比如存在redis里面

    // redis cache
    'cache' => [
                'class' => 'yii\redis\Cache',
                'redis' => 'redis'
            ],
    // db cache
    'dbCache' => [
                'class' => 'yii\caching\DbCache',
                'cacheTable'=>'dts_cache',
            ],
    // file cache
    'fileCache' => [
                'class' => 'yii\caching\FileCache',
            ],
    

    就是我的runtime下只有两个文件夹debug和logs,没有cache额

  • 2017-10-24 已签到
    连续签到2天,获得了10个金钱
见习主管 等级规则
395/500
资料完整度
10/100
用户活跃度
0/100

Ta的关注

2

Ta的粉丝

0

Ta的访客

4