? cacherouter.patch
Index: cacherouter.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/cacherouter/cacherouter.inc,v
retrieving revision 1.2.2.17
diff -u -p -r1.2.2.17 cacherouter.inc
--- cacherouter.inc	20 Aug 2010 21:36:19 -0000	1.2.2.17
+++ cacherouter.inc	11 Oct 2010 04:12:41 -0000
@@ -6,6 +6,21 @@
  *   Defines the cacherouter module
  */
 
+/**
+ * Indicates that the item should never be removed unless explicitly told to
+ * using cache_clear_all() with a cache ID.
+ */
+if (!defined('CACHE_PERMANENT')) {
+  define('CACHE_PERMANENT', 0);
+}
+
+/**
+ * Indicates that the item should be removed at the next general cache wipe.
+ */
+if (!defined('CACHE_TEMPORARY')) {
+  define('CACHE_TEMPORARY', -1);
+}
+
 require dirname(__FILE__) . '/CacheRouter.php';
 
 /**
