Laravel 4缓存机制的实现

I wonder how safe it is to use Laravel 4 built-in DB query caching mechanism ($query->remember(10)).

I can't find in the docs the implementation way, and, I wonder if it uses some kind of hashing algorithm of the full DB query with all the binded (bonded??) values, in order to set the cached item key (Which is safe enough for me :))

I also wonder if the implementation differs from one cache driver to another. I currently use the file system driver.

查看全部
dtd5644
dtd5644
2015/04/16 13:59
  • laravel
  • php
  • caching
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

1个回复