title: Is there a way of having a fetch() request occur while a html page is loading?
body: <p>I'm making a website in which I need to have a fetch request occur while the page is loading, otherwise it slows things down later. Is there a way to do this, as what normally happens is that this request is triggered through a button push, but I'd like to have it occur as the page loads.</p>