I am building a Next.js app it is supposed to be SSR.
So I have some common data, e.g Navigation and a few other things which I do need to be server rendered and I need it on every page. But loading it on every page from my REST API in getServerSideProps when I move between pages doesn't seem right.
So I am looking for a way to save this information in some local cache or state and I don't load it the second time when I move to another page in the browser.
Is there a way to do so?