Revision 9042 does more, following some things CDM added at my request:
- It eliminates the last call to account.php - the Account Tab - because we can now get "recalled skills" from api.php?what=status
- (We also get "king liberated" from there now. We still notice when you do it and open up things for you immediately, but if you did it outside of KoL, say, we notice when you log in as part of the initial status load.)
- We read equipment and stickers from api.php?what=status
- We read all inventory from api.php?what=inventory
- Therefore, "refreshing inventory" is now closet.php + api.php?what=inventory, instead of closet.php, equipment.php page 1, 2, and 3, and bedazzle.php.
- If we notice you have an unknown item equipped, we can scrape the description and override it. That's new!
- For that matter, if we notice an unknown item in inventory, we can detect and override it, whether or not you have inventory images enabled.
I need one more inventory thing from CDM - familiar item locked flag.
And I should try to eliminate the initial load to charpane.php; CDM added the current MCD setting to api.php?what=status at my request, so I could do that.
So, this is still not "done" - but we're definitely making good use of api.php now. In total, so far, I have replaced 8 page loads at login with 2 smaller and much server-friendlier (no database hits!) page loads.