Use a hash function to invalidate the partial rendering.