Render pages on server side only for html responses