mediawiki-extensions-PdfHan.../includes
Tim Starling 989b42b8eb Use the new metadata splitting facility to improve PDF performance
* Migrate to the new metadata system: override getSizeAndMetadata()
* Use getHandlerState() instead of a custom property on the File object.
* Opt in to metadata splitting. Avoid loading the text item unless it is
  really needed.
* In getDimensionInfo(), use getHandlerState() instead of the
  WANObjectCache process cache (pcTTL). This is just a
  micro-optimisation, informed by profiling, which showed 90 calls to
  this function during an image page view.

Depends-On: I876ea5c9d3a1881e278f689d2f8a3ae20240c703
Change-Id: I30d0b0009fcb11c14d14663bd1f2c2a3dfac55d6
2021-06-11 15:56:57 +10:00
..
CreatePdfThumbnailsJob.php Use ::class for class name 2021-04-08 21:02:46 +02:00
PdfHandler.php Use the new metadata splitting facility to improve PDF performance 2021-06-11 15:56:57 +10:00
PdfImage.php Use the new metadata splitting facility to improve PDF performance 2021-06-11 15:56:57 +10:00