Since I added getStaticPaths to pages navigation between pages in development mode (next dev) became painfully slow. Are there any means to optimize this? I have tried to memoize results of related asynchronous calls to database but it seems like did not do anything.