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
If cache() doesn't have a parameter passed then it will default to 10 years.
Whenever a model is saved, it will clear the cache. This is helpful when you can simply cache a table until it's actually updated. In some instances, models simply need to be cached until they are updated, no need to momentarily retrieve from the database if it's never been updated. This technically decreases the fetching of the cache but increases the reliability of the data.
Found and fixed a bug where the model would make a new database connection on every call.