What about building a lightweight database, e.g. SQLite? You can directly query the expired pages, and sometimes (not at every run) check the other pages, decreasing the cost.
_______________________________________________ Wikitech-l mailing list -- [email protected] To unsubscribe send an email to [email protected] https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/
