-- Laravel

Laravel 4: Easily Cache Eloquent Collections

An awesome feature that didn’t make it to the current documentation of Laravel 4, is caching within Eloquent models. So even caching the database results is done in just a single line of code, for example:

2675 Total 3 Today