我如何实现Codeigniter活动记录缓存(https://www.codeigniter.com/userguide2/database/active_record.html#caching)在Laravel 4?
您无法在Laravel 4中实现Codeigner缓存。
但是您可以在Laravel4中实现Laravel缓存。请在此处查看缓存文档。这里还有用于缓存查询的特定文档。但原则上你做
$users = DB::table('users')->remember(10)->get();
其中,10是缓存结果的分钟数。