Pro Tip Serialize Properties Cache Id

Serialize object properties as key for cache

Simple idea, how to invalidate cache? Simple pattern would be to have the sate of the object reflected in its cache id. Serialize its properties and values as the id.

JSON.encode(vo) + timestamp + ".cache"