-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Middleware CacheRequests does not exist #19
Comments
Nevermind i set up one by myself. |
I found the same problem too,does this package still be maintained? |
Maybe not a problem,found this below: public function boot()
|
Did you add the service provider? |
Yes. I add SP and also added the middleware to the kernel but the httpcache did not work. No files in the storage dir or age value in headers. I created a middleware that takes the response with $next($request) and then i added ->setTtl to it. Now it is ok Info: My dir structure is not the default laravel 5 |
I got the same issue, it seems there isn't CacheRequests in the Middleware folder. I'm using laravel 5.2 how can I fix this? |
Never mind, my failure setting up. |
Hi Barry!
Just installed with composer:
"barryvdh/laravel-httpcache": "0.2.x@dev"
and the middleware 'Barryvdh\HttpCache\Middleware\CacheRequests' does not exist.
Am i missing something?
The text was updated successfully, but these errors were encountered: