mikebronner / laravel-model-caching

Eloquent model-caching made easy.
MIT License
2.25k stars 212 forks source link

Want two apps having same db connection and different cache connection invallidate each other. #285

Closed stockarea closed 5 years ago

stockarea commented 5 years ago

Earlier I was using this only on one app and it was working awesome. But now I have made an admin app which also links to the same database. What can I do to make sure the cache gets updated or deleted when any one of them make changes. Will connecting them to same redis cache server will solve this?. Or if there is any other way of implementing cache which I can go along. Any guidance would be of great help.

mikebronner commented 5 years ago

Yea, they pretty much have to connect to the same cache for that to work.