diff --git a/boost.module b/boost.module
index d204a01..b3d8dd3 100644
--- a/boost.module
+++ b/boost.module
@@ -172,6 +172,19 @@ function boost_init() {
     // More advanced checks
     $_boost = boost_transform_url();
     if (empty($_boost['menu_item']['status']) || $_boost['menu_item']['status'] != 200) {
+      // try to clear cache for this page so that drupal_set_message() shows up on page reload
+      if ( (strpos($_SERVER['SCRIPT_FILENAME'], 'index.php') == TRUE )
+           && ( ($_SERVER['REQUEST_METHOD'] == 'POST') || isset($_SESSION['messages']))
+      ) {
+        $_boost = boost_transform_url();
+        if (file_exists($_boost['filename'].'.html')) {
+          unlink($_boost['filename'].'.html');
+        }
+        // clean variable afterwards
+        $_boost = array();
+      }
+
+      // and avoid caching this page
       $_boost['cache_this'] = FALSE;
     }
   }
