sargilla/mamushka
Sargilla/Mamushka Laravel Cache Class
Paquete para Laravel que se utiliza para caching de vistas.
INSTALACION
En Config/App.php registrar un nuevo service provider:
Sargilla\Mamushka\MamushkaServiceProvider::class,
USO
En los metodos agregar el metodo cacheable
use Sargilla\Mamushka\Cacheable;
class MyModel extends Model { use Cacheable;
En el controlador: return view('micontrolador.index', compact('controlador'));
Y en las vistas
@cache($controlador) @foreach ($controlador->items as $item) echo $item; @endforeach @endcache
Related Packages
maartenstaa/laravel-41-route-caching
This package allows you to cache your routes definitions, thereby speeding up ea...
384,139
25
spatie/laravel-responsecache
Speed up a Laravel application by caching the entire response
9,389,755
2,813