Manual:RevisionOutputCache.php
Appearance
From mediawiki.org
MediaWiki file: RevisionOutputCache.php | |
---|---|
Location: | includes/parser/ |
Source code: | master • 1.43.1 • 1.42.6 • 1.39.12 |
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
[edit ]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()