Skip to content

Commit

Permalink
edit changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
freekmurze committed Jul 20, 2015
1 parent c6cdf96 commit 938ba23
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
16 changes: 2 additions & 14 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,7 @@

All Notable changes to `laravel-responsecache` will be documented in this file

## NEXT - YYYY-MM-DD
## 1.0.0 - 2015-07-20

### Added
- Nothing

### Deprecated
- Nothing

### Fixed
- Nothing

### Removed
- Nothing

### Security
- Nothing
- Everything
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,12 @@ You can publish the config file with:
php artisan vendor:publish --provider="Spatie\ResponseCache\ResponseCacheServiceProvider"
```

This is the content of the published config file:
This is the contents of the published config file:

```php
return [

/**
* The given class will determinate if a request should be cached. The
* default class will cache all GET-requests.
* default class will cache all successful GET-requests.
*
* You can provide your own class given that it implements the
* CacheProfile interface.
Expand All @@ -64,7 +62,7 @@ return [
* When using the default CacheRequestFilter this setting controls the
* number of minutes responses must be cached.
*/
'cacheLifetimeInMinutes' => 5,
'cacheLifetimeInMinutes' => 60 * 24,

/*
* This setting determines if a http header named "Laravel-responsecache"
Expand All @@ -78,7 +76,7 @@ return [
* requests. This can be the name of any store that is
* configured in app/config/cache.php
*/
'cacheStore' => env('CACHE_DRIVER', 'file'),
'cacheStore' => env('RESPONSE_CACHE_DRIVER', 'file'),
];


Expand Down
2 changes: 1 addition & 1 deletion resources/config/laravel-responsecache.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return [
/**
* This is the master switch to enable of disable the response cache. If set to
* false no response will be cached.
* false no responses will be cached.
*/
'enabled' => env('RESPONSE_CACHE_ENABLED', true),

Expand Down

0 comments on commit 938ba23

Please sign in to comment.