Performance Tweak 5: Definition, Internal Citation layers cache rendered results

We render the same definition and internal citations many times. Cache the results.

~9% improvement in Interp (building on #391)