public function SiteAuditCheckCachePageExpire::getAction in Site Audit 8.2
Same name and namespace in other branches
- 7 Check/Cache/PageExpire.php \SiteAuditCheckCachePageExpire::getAction()
Implements \SiteAudit\Check\Abstract\getAction().
Overrides SiteAuditCheckAbstract::getAction
File
- Check/
Cache/ PageExpire.php, line 63 - Contains \SiteAudit\Check\Cache\PageExpire.
Class
- SiteAuditCheckCachePageExpire
- Class SiteAuditCheckCachePageExpire.
Code
public function getAction() {
if (!in_array($this->score, array(
SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_PASS,
))) {
return dt('Go to /admin/config/development/performance and set "Expiration of cached pages" to 15 min or above.');
}
}