2017 © Pedro Peláez
 

library laravel-static-html-cache

store/cache generated responses as a static file

image

vnclone/laravel-static-html-cache

store/cache generated responses as a static file

  • Friday, June 23, 2017
  • by VietSmall
  • Repository
  • 1 Watchers
  • 0 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

laravel-static-html-cache

store/cache generated responses as a static file, (*1)

Setup

Add the service provider to the config/app.php provider array, (*2)

vnclone\LaravelStaticHtmlCache\Provider\LaravelStaticHtmlCacheProvider::class,

Then add the middleware to the end of your Http/Kernel.php middleware array. ```php protected $middleware = [ \vnclone\LaravelStaticHtmlCache\Http\Middleware\LaravelStaticHtmlCacheMiddleware::class, ];, (*3)



## Clear the files To clear all the files manually you can use an artisan task. ```bash php artisan static-html-cache:clear

The Versions

23/06 2017

dev-master

9999999-dev

store/cache generated responses as a static file

  Sources   Download

MIT

The Requires

  • php >=7.0

 

The Development Requires

by Michael Scharl