Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Sarav-S committed Feb 10, 2017
1 parent e76c5bd commit a7e87d5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Expand Up @@ -64,3 +64,13 @@ Here **$individualCache** means you are trying to cache each and every row separ
protected $cacheAll = true;

**$cacheName** represents the name of the caching. For individual caching it will be like users.{id} ie, users.1. For whole caching it will be simply users.

Now you can access the cache using Facade or helper function like

cache('users') // for all cache
cache('users.1') // for individual cache

or

Cache::get('users') // for all cache
Cache::get('users.1') // for individual cache

0 comments on commit a7e87d5

Please sign in to comment.