Index: branches/wmf-deployment/languages/LanguageConverter.php |
— | — | @@ -663,7 +663,8 @@ |
664 | 664 | $this->mTables = false; |
665 | 665 | if($fromcache) { |
666 | 666 | wfProfileIn( __METHOD__.'-cache' ); |
667 | | - $this->mTables = $wgMemc->get( $this->mCacheKey ); |
| 667 | + //$this->mTables = $wgMemc->get( $this->mCacheKey ); |
| 668 | + $this->mTables = apc_fetch( $this->mCacheKey ); |
668 | 669 | wfProfileOut( __METHOD__.'-cache' ); |
669 | 670 | } |
670 | 671 | if ( !$this->mTables || !isset( $this->mTables[self::CACHE_VERSION_KEY] ) ) { |
— | — | @@ -680,7 +681,8 @@ |
681 | 682 | $this->postLoadTables(); |
682 | 683 | $this->mTables[self::CACHE_VERSION_KEY] = true; |
683 | 684 | |
684 | | - $wgMemc->set($this->mCacheKey, $this->mTables, 43200); |
| 685 | + // $wgMemc->set($this->mCacheKey, $this->mTables, 43200); |
| 686 | + apc_store($this->mCacheKey, $this->mTables, 43200); |
685 | 687 | wfProfileOut( __METHOD__.'-recache' ); |
686 | 688 | } |
687 | 689 | wfProfileOut( __METHOD__ ); |