大約有 1 項符合查詢結(jié)果。(搜索耗時:0.0009秒)
您是不是要找:
- 分享一個Laravel好用的Cache宏
- Laravel提供的緩存工具很好用,手冊里介紹了一些基本的用法,比如get,put,forget,forever等,一開始我是像下面這樣使用的: 代碼如下: if (!$article = Cache::get('article_1')) { $article = Article::find(1); Cache::forever('article_1',$article); } 這是最基本
- 2015-03-03 22:39:13
相關(guān)搜索:
laravel cache cache asp cache jsp cache ajax ie cache asp net cache