Implementing Active Record Caching in Laravel 4? -


any how can implement codeigniter active record caching (http://ellislab.com/codeigniter/user-guide/database/active_record.html#caching) in laravel 4?

you cannot implement codeigniter caching in laravel 4.

but can implement laravel caching in laravel 4. please see caching docs here. there specific docs caching queries here. in principle do

$users = db::table('users')->remember(10)->get(); 

where 10 number of minutes cache result for.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -