We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a808e61 commit b0dccf8Copy full SHA for b0dccf8
README.md
@@ -50,6 +50,12 @@ abstract class BaseModel extends CachedModel
50
}
51
```
52
53
+### Exception: User Model
54
+I would not recommend caching the user model, as it is a special case, since it
55
+extends `Illuminate\Foundation\Auth\User`. Overriding that would break functionality.
56
+Not only that, but it probably isn't a good idea to cache the user model anyway,
57
+since you always want to pull the most up-to-date info on it.
58
+
59
### Disabling Caching of Queries
60
**Recommendation: add this to all your seeder queries to avoid pulling in
61
cached information when reseeding multiple times.**
0 commit comments