This is much more efficent

Let's only render the document once per request, not twice. How's that
for an idea