Batch request titles for cdn purge from db
authorErik Bernhardson <ebernhardson@wikimedia.org>
Tue, 29 Aug 2017 16:30:14 +0000 (09:30 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 30 Aug 2017 18:22:11 +0000 (18:22 +0000)
commit3370b052fc8a9e5dfee646a1fcf8f38e9b4e6775
tree08f6f00f276c26f1248e6c10bc9e2c125c554822
parentb2e98b1eb3bb47904e6a0c99579f19043d664d8e
Batch request titles for cdn purge from db

Xenon shows a significant amount of time is spent individually fetching
the content model for titles being purged. It's probably not a huge
improvement but lets fetch them all in one go instead of lazily as
needed.

Change-Id: I71af6f13c84e740c1367617d7a51210501363b33
includes/cache/LinkBatch.php
includes/deferred/CdnCacheUpdate.php