Manual:RevisionOutputCache.php
MediaWiki file: RevisionOutputCache.php | |
---|---|
Location: | includes/parser/ |
Source code: | master • 1.43.0 • 1.42.4 • 1.39.11 |
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
edit- ParserCacheFactory::getRevisionOutputCache - non-static function that returns a RevisionOutputCache instance by $name.
Public methods
editPublic 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()