private function canRecache($path, $cached)
	{
		// check the cached file if it needs to be recached
		$old = file_get_contents($cached);
		preg_match_all('/\<\!\-\-\%(.*?)\%\-\-\>/', $old, $views);

		foreach($views[1] as $view) {
			$fp = $this->viewsDirectory . $this->DS . base64_decode($view, true) . $this->viewsExtension;

			if (file_exists($fp)) {
				if (filemtime($fp) > filemtime($cached)) {
					return file_put_contents($cached, $this->recache($path));
				}

				continue;
			}

			return file_put_contents($cached, $this->recache($path));
		}

		if (filemtime($path) > filemtime($cached)) {
			file_put_contents($cached, $this->recache($path));
		}
	}