Manual:RevisionOutputCache.php
Appearance
MediaWiki file: RevisionOutputCache.php | |
---|---|
Location: | includes/parser/ |
Source code: | master • 1.42.3 • 1.41.4 • 1.39.10 |
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()