@@ 65-67 (lines=3) @@ | ||
62 | ||
63 | $length = strlen( $text ); |
|
64 | $threshold = $config->get( 'PreprocessorCacheThreshold' ); |
|
65 | if ( $threshold === false || $length < $threshold || $length > 1e6 ) { |
|
66 | return false; |
|
67 | } |
|
68 | ||
69 | $key = wfMemcKey( |
|
70 | defined( 'static::CACHE_PREFIX' ) ? static::CACHE_PREFIX : static::class, |
|
@@ 94-96 (lines=3) @@ | ||
91 | ||
92 | $length = strlen( $text ); |
|
93 | $threshold = $config->get( 'PreprocessorCacheThreshold' ); |
|
94 | if ( $threshold === false || $length < $threshold || $length > 1e6 ) { |
|
95 | return false; |
|
96 | } |
|
97 | ||
98 | $cache = ObjectCache::getInstance( $config->get( 'MainCacheType' ) ); |
|
99 |