Manual:RevisionOutputCache.php
From Linux Web Expert
MediaWiki file: RevisionOutputCache.php | |
---|---|
Location: | includes/parser/ |
Source code: | master • 1.41.1 • 1.40.3 • 1.39.7 |
Classes: | MediaWiki\Parser\RevisionOutputCache |
Class that handles cache for outputs of the PHP parser. It was introduced in MW 1.36.
See Manual:Parser cache.
Instantiation and retrieval
- ParserCacheFactory::getRevisionOutputCache - non-static function that returns a RevisionOutputCache instance by $name.
Public methods
Public methods, those that not for internal use by the software only, include:
- get() - retrieve the ParserOutput from cache; false if not found or outdated.
- save()