Manual:$wgPreprocessorCacheThreshold

Details
Preprocessor caching threshold.

Texts passed to the preprocessor bigger than this will have their result cached in memcached for one day.