| Package Data | |
|---|---|
| Maintainer Username: | VietSmall |
| Maintainer Contact: | michael.scharl@me.com (Michael Scharl) |
| Package Create Date: | 2017-06-22 |
| Package Last Update: | 2017-06-22 |
| Home Page: | https://vnclone.com |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-11-17 15:21:22 |
| Package Statistics | |
|---|---|
| Total Downloads: | 14 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
store/cache generated responses as a static file
Add the service provider to the config/app.php provider array
vnclone\LaravelStaticHtmlCache\Provider\LaravelStaticHtmlCacheProvider::class,
Then add the middleware to the end of your Http/Kernel.php middleware array.
protected $middleware = [
\vnclone\LaravelStaticHtmlCache\Http\Middleware\LaravelStaticHtmlCacheMiddleware::class,
];
To clear all the files manually you can use an artisan task.
php artisan static-html-cache:clear