# `Alternera.Resource.Transformers.AddCacheChange`
[🔗](https://github.com/10e-ab/alternera-sdk/blob/v0.9.0/alternera_resource_sdk/lib/alternera/resource/transformers/add_cache_change.ex#L1)

For a resource with `cache` on, adds `Alternera.Resource.Changes.NotifyHost`
to every create, update and destroy, so a committed write drops the record
from the proxy's lookup cache on every node. A resource without the cache
reads the database on every lookup and needs no notice.

# `after?`

# `after_compile?`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
