Request-local caching of DjVu dimensions
[lhc/web/wiklou.git] / includes / media / DjVu.php
index d4ef8a8..cd249a8 100644 (file)
@@ -419,7 +419,8 @@ class DjVuHandler extends ImageHandler {
                                }
 
                                return [ 'pageCount' => $count, 'dimensionsByPage' => $dimsByPage ];
-                       }
+                       },
+                       [ 'pcTTL' => WANObjectCache::TTL_INDEFINITE ]
                );
        }