protected function _get_compiled_routes()
{
$_k = 'compiled_routes';
$compiled = $this->cache->get($_k);
if ($compiled) {
return $compiled;
}
$compiled = array();
foreach ($this->routes as $route) {
$route['compiled'] = $this->_compile_route($route['uri'], $route['wildcard']);
$compiled[] = $route;
}
$this->cache->set($_k, $compiled);
return $compiled;
}