I'm a professional PHP, Python and Javascript developer from the UK. I've worked with Django, Laravel, and React, among others. I also maintain a legacy Zend 1 application.
I touched on this in the prior article, but the way to handle changes to the user model is to use model events to trigger a listener that clears the cached item. That way, you can assign a single listener to multiple events and automatically clear the cache on any changes.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Yes, that's correct.
I touched on this in the prior article, but the way to handle changes to the user model is to use model events to trigger a listener that clears the cached item. That way, you can assign a single listener to multiple events and automatically clear the cache on any changes.