Nounspace/nounspace.ts

Performance improvements - Space & tab loading time

willyogo opened this issue · 1 comments

With the release of Tabs, we have all of the functionality of our envisioned MLP, and then some!

Unfortunately, sometimes it takes unreasonably long for key actions like navigating to a space or tab (occasionally over 10 seconds). This could also be related to the intermittent 504 timeout errors.

Potential clue: When a space takes especially long to load (10+ seconds), once you are able to load it succesfully, it seems that all subsequent spaces load faster during that session.

AC:

  1. Spaces load within 3 seconds max (ideally even less!)
  2. Tabs load within 3 seconds or les
  3. Even if data from 3rd parties takes longer to fully load, data stored in nounspace's db loads almost instantly (ie. skeleton of user's space including Fidget layout), and then 3rd party data (ie. farcaster feed content) loads as soon as it becomes available. See vercel's streaming functions

If this was a DAO I would definitely vote For!

"Even as mobile networks get faster, it’s ideal to load a page in less than 3 seconds, or by Google’s recommendations, less than 1 or 2."
Source: Mailchimp

After living abroad for a year I realized how much I took reliable, fast internet for granted, even while plugged into ethernet!