code/libraries/joomlatools/library/dispatcher/behavior/cacheable.php
public function isCacheable()
    {
        $request = $this->getRequest();

        $cacheable = false;
        if($request->isCacheable() && $this->getConfig()->cache)
        {
            $cacheable = true;

            if(!$this->getConfig()->cache_private && $this->getUser()->isAuthentic()) {
                $cacheable = false;
            }
        }

        return $cacheable;
    }
public function isCacheable()
    {
        $request = $this->getRequest();

        $cacheable = false;
        if($request->isCacheable() && $this->getConfig()->cache)
        {
            $cacheable = true;

            if(!$this->getConfig()->cache_private && $this->getUser()->isAuthentic()) {
                $cacheable = false;
            }
        }

        return $cacheable;
    }
public function isCacheable ( ) { $ request = $ this -> getRequest ( ) ; $ cacheable = false ; if ( $ request -> isCacheable ( ) && $ this -> getConfig ( ) -> cache ) { $ cacheable = true ; if ( ! $ this -> getConfig ( ) -> cache_private && $ this -> getUser ( ) -> isAuthentic ( ) ) { $ cacheable = false ; } } return $ cacheable ; }
Check if the response can be cached

@return  boolean  True on success, false otherwise
Check if the response can be cached