Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Dec 27, 2016
1 parent 6d3a775 commit 44415ae
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Expand Up @@ -85,11 +85,10 @@ Add the `Spatie\Varnish\Middleware\CacheWithVarnish` middleware to the registere
```php
// app/Http/Kernel.php

protected $routeMiddleware = [
...
protected $routeMiddleware = [
...
'cacheable' => Spatie\Varnish\Middleware\CacheWithVarnish::class,
];
'cacheable' => Spatie\Varnish\Middleware\CacheWithVarnish::class,
]
```

Finally, in you should add these lines to the `vcl_backend_reponse` function in your VCL:
Expand Down

0 comments on commit 44415ae

Please sign in to comment.