Skip to content
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

Fixed some typos #1

Merged
merged 1 commit into from
Jul 17, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This package is still in development, a stable 1.0.0 version will be released so
[![Quality Score](https://img.shields.io/scrutinizer/g/spatie/laravel-responsecache.svg?style=flat-square)](https://scrutinizer-ci.com/g/spatie/laravel-responsecache)
[![Total Downloads](https://img.shields.io/packagist/dt/spatie/laravel-responsecache.svg?style=flat-square)](https://packagist.org/packages/spatie/laravel-responsecache)

This package can cache an entire response. It can for instance cache all get-requests for a certain amount of time. This could potentially speed up the response quite considirably.
This package can cache an entire response. It can for instance cache all get-requests for a certain amount of time. This could potentially speed up the response quite considerably.

## Installation

Expand All @@ -26,7 +26,7 @@ Next, you must install the service provider:

'providers' => [
...
Spatie\ReponseCache\ReponseCacheServiceProvider::class,
Spatie\ResponseCache\ResponseCacheServiceProvider::class,
];
```

Expand All @@ -36,17 +36,17 @@ This package also comes with a facade.
// config/app.php

'aliases' => [
...
...
'ResponseCache' => Spatie\ResponseCache\ResponseCacheFacade::class,
];
```

You can publish the config-file with:
You can publish the config file with:
```bash
php artisan vendor:publish --provider="Spatie\ResponseCache\ResponseCacheServiceProvider"
```

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

```php
return [
Expand All @@ -67,7 +67,7 @@ return [
'cacheLifetimeInMinutes' => 5,

/*
* This setting determines if a http header named "Laravel-reponsecache"
* This setting determines if a http header named "Laravel-responsecache"
* with the cache time should be added to a cached response. This
* can be handy when debugging.
*/
Expand All @@ -88,7 +88,7 @@ return [

###Basic usage

By default the package will cache all `get`-requests for five minutes. Logged in users will each have their own seperate cache. If y this behaviour is what you need, you're done: installing the `ResponseCacheServerProvider` was enough.
By default the package will cache all `get`-requests for five minutes. Logged in users will each have their own separate cache. If this behaviour is what you need, you're done: installing the `ResponseCacheServerProvider` was enough.


###Flushing the cache
Expand Down Expand Up @@ -141,7 +141,7 @@ interface CacheProfile
public function shouldCache(Request $request);

/**
* Return the time when the cache must be invalided.
* Return the time when the cache must be invalidated.
*
* @param \Illuminate\Http\Request $request
*
Expand Down