You are here

public function SiteAuditCheckCacheAnon::getAction in Site Audit 7

Implements \SiteAudit\Check\Abstract\getAction().

Overrides SiteAuditCheckAbstract::getAction

File

Check/Cache/Anon.php, line 55
Contains \SiteAudit\Check\Cache\Anon.

Class

SiteAuditCheckCacheAnon
Class SiteAuditCheckCacheAnon.

Code

public function getAction() {
  if ($this->score == SiteAuditCheckAbstract::AUDIT_CHECK_SCORE_FAIL) {
    return dt('Go to /admin/config/development/performance and check "Cache pages for anonymous users".');
  }
}