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.
md5(JSON.encode(vo) + timestamp) + ".cache"