So it will have multiple sources from where it can take the most recent date, at least until it gets cached and if i understand it right, even if is cached, if it detects a newer date, it will get that, ignoring cache?
it has multiple sources for games that were never cached. when i say cache expires, i dont mean it gets deleted. cache expiring means that next time someone wants to check that game, it will fetch new information from f95zone. but the information from before invalidating the cache remains, so it can compare. so this "multiple sources" is only for the first time that a game has ever been added to any user's library. as soon as one person refreshes this game, it will check these 2 sources from f95zone and use the most recent one as the last updated date. this is a one time occurrance for that game until the heat death of the universe. after that one occurrance, it will not look ever again at f95zone for the last updated date of that particular game. it will only change the last update date for that game when the version number for it changes.
- game added, use either thread last updated date or latest updates last promotion date
- cache expires, information is fetched again, version is the same, last updated date remains the same no matter what the forum says the last updated date is
- repeat this for every time the cache expires without the version changing, even if the last updated date on f95zone changes because someone makes a typo or whatever else, it does not change on f95checker
- finally, a new version is released, cache expires, the cache api fetches the new data and notices that the version number change, ding! the last updated date is set to today, the forum is never consulted for the last updated date
- repeat...
only the version changing is used to set the last updated date, the forum is demonstrably unreliable with this kind of date and everyone here has complained too much about it. but obviously, if the game was never cached before, the cache api cannot know when it had changed the last time, so just for the first ever refresh it uses the date from f95zone. after that, never again for that game. its not a difficult concept.