[FileRepo] Lazy load large metadata from the DB.
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 24 Jan 2013 03:20:57 +0000 (19:20 -0800)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 29 Jan 2013 01:29:27 +0000 (17:29 -0800)
commitdcbdcf07810580e820e53b24b6c3b9d4c3ca37a3
tree7c8de024e05fc50b10be36cf49a0b55d773905cc
parent75ef257c2986ffc9ddab85800367932b7fdb1fa1
[FileRepo] Lazy load large metadata from the DB.

* Previously, large values that could not fit into memcached would not be cached
  and the master DB would be hit for any file loading (djvu files hit this often).

Change-Id: I3ed8ad4a85d6e3084330b56c3b48ee76103bd2b8
includes/filerepo/file/LocalFile.php
includes/filerepo/file/OldLocalFile.php