T279434: Add a link: algorithm improvements: Define filter for not linking specific articles types will result in updated datasets. It would be nice to update cached recommendations to use the newest dataset / model.
Potentially, refreshLinkRecommendations.php could include a loop to iterate over existing link recommendations and find ones that don't correspond to the latest dataset/model hash. It would be best not to just drop all of these because the task queue could drop to zero. Instead, it could drop some number of older cached recommendations per run (and hope that refreshLinkRecommendations.php continue to fill up the queue), or it could iterate over old cached recommendations, drop individually and make requests to refresh individually.