Only re-render if path and or template have changed.