You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-4Lines changed: 3 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ memcached). While this is optional, using a non-taggable cache provider will
48
48
mean that the entire cache is cleared each time a model is created, saved,
49
49
updated, or deleted.
50
50
51
-
For the ease of maintenance, I would recommend adding a `BaseModel` model that
51
+
For ease of maintenance, I would recommend adding a `BaseModel` model that
52
52
extends `CachedModel`, from which all your other models are extended. If you
53
53
don't want to do that, simply extend your models directly from `CachedModel`.
54
54
@@ -66,7 +66,7 @@ abstract class BaseModel extends CachedModel
66
66
```
67
67
68
68
### Exception: User Model
69
-
I would not recommend caching the user model, as it is a special case since it
69
+
I would not recommend caching the user model, as it is a special case, since it
70
70
extends `Illuminate\Foundation\Auth\User`. Overriding that would break functionality.
71
71
Not only that, but it probably isn't a good idea to cache the user model anyway,
72
72
since you always want to pull the most up-to-date info on it.
@@ -99,8 +99,7 @@ In testing this has optimized performance on some pages up to 900%! Most often
99
99
you should see somewhere around 100% performance increase.
100
100
101
101
## Commitment to Quality
102
-
During package development I try as best as possible to embrace good design and
103
-
development practices trying to ensure that this package is as good as it can
102
+
During package development I try as best as possible to embrace good design and development practices, to help ensure that this package is as good as it can
104
103
be. My checklist for package development includes:
105
104
106
105
- ✅ Achieve as close to 100% code coverage as possible using unit tests.
0 commit comments