diff --git a/src/Render/RendererFactory.php b/src/Render/RendererFactory.php index a3d2b88ef..a15890e3c 100644 --- a/src/Render/RendererFactory.php +++ b/src/Render/RendererFactory.php @@ -121,8 +121,12 @@ class RendererFactory { return $renderer; } - public function getFromHash( $hash ) { - $rpage = $this->cache->get( $hash ); + public function getFromHash( $inputHash ) { + $key = $this->cache->makeGlobalKey( + MathRenderer::class, + $inputHash + ); + $rpage = $this->cache->get( $key ); if ( $rpage === false ) { throw new InvalidArgumentException( 'Cache key is invalid' ); }