I am building an asp.net MVC application which searches a graph data structure to fulfill user's requests. I want to build this graph data structure on first request from database and then on requests after first request I want to use the previously built graph rather than building it again.
but I do not know where to store the graph on first request so it can be accessed on subsequent requests.