Manual:RevisionOutputCache.php
| MediaWiki file: RevisionOutputCache.php | |
|---|---|
| Location: | includes/parser/ (includes/Parser/ in 1.46 or later) |
| Source code: | master • 1.45.3 • 1.44.5 • 1.43.8 |
| 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()