swarmcity / boardwalk-ts

Boardwalk implementation in TS
boardwalk-ts.vercel.app
MIT License
1 stars 0 forks source link

Should marketplace items be cached? If so, how many, for how much time? #24

Open filoozom opened 2 years ago

filoozom commented 2 years ago

There are two different data sources that need to be kept in sync:

The caching / fetching strategy needs to be compatible with both technologies.

Currently all marketplace items are refetched when the marketplace is open. Of course, this will quickly become unscalable, as with thousands of items it would take a lot of time to load. We could cache those items, but with multiple marketplaces having many items each, that would quickly take up a lot of space.

Alternatively, we could fetch the last x items and implement infinite scrolling

lucille-bellepleure commented 2 years ago

can we close this?