Hi Jeffrey,
First of all, thank you very much for this package. I am a big fan of laracasts :)
I was trying to use the russian doll caching in a view with pagination, so to make it work I have to have this in my controller...
$collection = Collection::make($results->items);
... and then pass it to the view. This way I can cache the results, but I am speding twice the memory. By the way, to allow @cache directive to cache collections I needed to run:
composer require laracasts/matryoshka:dev-master
Do you come up any idea how can I solve this?
Thanks in advance,
Hi Jeffrey,
First of all, thank you very much for this package. I am a big fan of laracasts :)
I was trying to use the russian doll caching in a view with pagination, so to make it work I have to have this in my controller...
... and then pass it to the view. This way I can cache the results, but I am speding twice the memory. By the way, to allow
@cachedirective to cache collections I needed to run:Do you come up any idea how can I solve this?
Thanks in advance,