cache TRPC api query
Im building an api that returns the frequency of certain values from a mySQL database. These values dont get updated to often and would therefore like to cache the results somehow.
Any tips on how i could do this best? Thought of simply using getStaticProps - but i need the data on a page that is server rendered so that option does not work.
0 Replies