Because I started to use the cache lookup recently, I've had some issues with the cache invalidation.
I though of sharing the solutions in the documentation:
- Added a solution how to invalidate the cache.
- Added a note/warning to invalidate the cache before if you intend to update the domain name. Otherwise the invalidate cache will not work as the key will have changed because of the new domain name.
I spent some time to find out how to manually invalidate the cache, when during testing I found out this is already handled in the base Tenant model. Adding this small paragraph might help others.
* chore: (Improve documentation search for V3)
* fix: checks for mispelled words
* fix: mispelled words
* fix spaces and syntax
* Update multi-database-tenancy.blade.md
Co-authored-by: Samuel Stancl <samuel.stancl@gmail.com>