elcobvg / laravel-opcache

Custom OPcache Cache Driver for Laravel. Faster than Redis, Memcache or APC.
MIT License
44 stars 12 forks source link

Extend Eloquent Model & Builder. #2

Closed elcobvg closed 6 years ago

elcobvg commented 6 years ago

To enable caching of full Eloquent models, the base class needs to be extended with a __set_state method. For retrievable storage of paged results, the Builder and Paginator need to be extended as well.

elcobvg commented 6 years ago

5 Capability to cache and retrieve Eloquent models.