poketo / poketo-reader

Web app for reading and following manga series
https://poketo.app
MIT License
34 stars 10 forks source link

Fix stale unread status #15

Closed rosszurowski closed 6 years ago

rosszurowski commented 6 years ago

When reading on one device and moving to another, chapters would often remain marked as unread. This is because Poketo heavily caches collection information, only re-fetching it (originally) after 15 days or when changes are made from the current device.

This PR reduces the cache time down to 1 minute (to avoid constant re-requests from navigating around) and ensures that the collection screen shows content, even when fetching is happening in the background.