I am facing issues managing cache efficiently in Angular 2. I use HTTP interceptors for that. The major problem I am facing is data incoherence. Everytime I update an object, I need to loop over cache data to reflect this change to all entities that depends on this change (using complex bug prone logic).
Are their any best practices/guidlines/design patterns to manage cache efficiently in Angular 2 applications ?
Aucun commentaire:
Enregistrer un commentaire