diff --git a/system/database/DB_cache.php b/system/database/DB_cache.php
index 135be3c..344736c 100644
--- a/system/database/DB_cache.php
+++ b/system/database/DB_cache.php
@@ -97,10 +97,10 @@
 			return $this->obj->db->cache_off();
 		}
 	
-		$uri  = ($this->obj->uri->segment(1) == FALSE) ? 'base'  : $this->obj->uri->segment(2);
-		$uri .= ($this->obj->uri->segment(2) == FALSE) ? 'index' : $this->obj->uri->segment(2);
+		$uri  = ($this->obj->uri->segment(1) == FALSE) ? 'default_'	: $this->obj->uri->segment(1).'_';
+		$uri .= ($this->obj->uri->segment(2) == FALSE) ? 'index'	: $this->obj->uri->segment(2);
 		
-		$filepath = md5($uri).'/'.md5($sql);
+		$filepath = $uri.'/'.md5($sql);
 		
 		if (FALSE === ($cachedata = read_file($this->obj->db->cachedir.$filepath)))
 		{	
@@ -125,10 +125,10 @@
 			return $this->obj->db->cache_off();
 		}
 
-		$uri  = ($this->obj->uri->segment(1) == FALSE) ? 'base'  : $this->obj->uri->segment(2);
-		$uri .= ($this->obj->uri->segment(2) == FALSE) ? 'index' : $this->obj->uri->segment(2);
+		$uri  = ($this->obj->uri->segment(1) == FALSE) ? 'default_'	: $this->obj->uri->segment(1).'_';
+		$uri .= ($this->obj->uri->segment(2) == FALSE) ? 'index'	: $this->obj->uri->segment(2);
 		
-		$dir_path = $this->obj->db->cachedir.md5($uri).'/';
+		$dir_path = $this->obj->db->cachedir.$uri.'/';
 		
 		$filename = md5($sql);