fimad / pifuxelck

A telephone drawing game.
https://everythingissauce.com
Apache License 2.0
5 stars 1 forks source link

Optimize history #38

Closed fimad closed 6 years ago

fimad commented 6 years ago

This makes various changes in the way that history works. The most significant is that the history page now shows summaries of games instead of the first drawing. A summary is just the first label and the background color of the first game.

Summaries from all games in the user's history are available from a new end-point which is significantly faster than the previous history end point.

The actual game content is loaded on-demand when a user views a game. The content is cached to IDB so that no network is hit for subsequent viewings.

Other improvements are included like the ability to search history and clearing stale entries from the outbox which should improve app-open times.

numberten commented 6 years ago

💯