dev-master
9999999-devstore/cache generated responses as a static file
MIT
The Requires
- php >=7.0
The Development Requires
by Michael Scharl
store/cache generated responses as a static file
store/cache generated responses as a static file, (*1)
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
store/cache generated responses as a static file
MIT