Caching improved: profiles updated instantly, pages load faster

Over past few years DSR got slower. Code that was enough for few thousands players is too slow for few hundred thousands players and over half a million games. Had to improve it a bit.

1. When you uploaded many replays, you used to have to wait for whole import to finish until you could see changes in your profile. It could take hours. Now cache for your profile is cleared with every new imported replay, therefore you’ll be able to see changes to your profile in real time, on every page refresh.

2. Big slow pages like https://ds-rating.com/players are updated once per hour, at 00:05+, 01:05+, etc.

3. Cache is warmed up right after it got cleared, therefore most of the time you are going to get snappy fast experience while using DSR.

Enjoy!