How to create a common object for all the request

Is there any way to create to a common object for all the requests ?
I wanted to load a model and want to use the same model for all the request instead to loading it again and again like we do window.onload in browser.

Hello there,

Welcome to Cloudflare

Would you be more specific? Which feature you are pointing at?