```php
if (!$this->getCache()->load($className)) {
    $compiled = $this->compile($source);
    $this->getCache()->cache($className, $compiled);
}
```