Index: /home/metskem/workspace/JSPWiki-2.8/src/com/ecyrd/jspwiki/providers/CachingProvider.java
===================================================================
--- /home/metskem/workspace/JSPWiki-2.8/src/com/ecyrd/jspwiki/providers/CachingProvider.java	(revision 708207)
+++ /home/metskem/workspace/JSPWiki-2.8/src/com/ecyrd/jspwiki/providers/CachingProvider.java	(working copy)
@@ -853,14 +853,21 @@
         synchronized(this)
         {
             // Clear any cached version of the old page
-            log.debug("Removing page "+from+" from cache");
-            m_cache.removeEntry( from );
-
+            log.debug("Removing from page "+from+" from cache");
+//            m_cache.removeEntry( from );
+            m_cache.putInCache( from, null );
+            m_textCache.putInCache( from, null );
+            m_historyCache.putInCache( from, null );
+            m_negCache.putInCache( from, from );
             // Clear the cache for the to page, if that page already exists
             //if ( m_cache.get( to ) != null )
             //{
-                log.debug("Removing page "+to+" from cache");
-                m_cache.removeEntry( to );
+                log.debug("Removing to page "+to+" from cache");
+//                m_cache.removeEntry( to );
+                m_cache.putInCache( to, null );
+                m_textCache.putInCache( to, null );
+                m_historyCache.putInCache( to, null );
+                m_negCache.putInCache( to, to );
             //}
         }
     }
