Simple wrapper around lru-cache that uses pub-sub for notifying of a dirty entry.