Caching is complicated and should be avoided when possible. The WatchstarGateway currently implements a custom and error prone cache to avoid issuing redundant requests when searching for a page. For example, if a user types "ABCDEF" slowly and then presses backspace, the watchstar status for each result is already known and cached and so can be presented immediately. This task is to remove all of that cache code at the expense of this functionality. If wanted, a ticket may be opened against the underlying MediaWiki API so that the browser can do caching intelligently for us.
https://gerrit.wikimedia.org/r/#/c/mediawiki/extensions/MobileFrontend/+/431021/
= QA steps
[] Check that when the Special:Watchlist is rendered that no API requests are made to the server
[] When searching the API as a logged in user, there should be API hits for the watchstar on every keystroke