--- quicktabs.module.orig	2009-03-20 22:34:16.000000000 -0400
+++ quicktabs.module	2009-10-20 17:32:43.000000000 -0400
@@ -453,16 +453,23 @@ function quicktabs_render_tabpage($tab) 
     case 'view':
       if (isset($tab['vid'])) {
         if (module_exists('views')) {
-          if ($view = views_get_view($tab['vid'])) {
-            if ($view->access($tab['display'])) {
-              $view->set_display($tab['display']);
-              $view->set_arguments($tab['args']);
-              $output = $view->preview();
-            }
-            else {
-              $output = t('You are not authorized to access this content.');
+          $cid = 'qt:' . $tab['vid'] . ':' . $tab['display'] . ':' . $tab['args'];
+          if ($cache = cache_get($cid, 'cache')) {
+            $output = $cache->data;
+          }
+          else {
+            if ($view = views_get_view($tab['vid'])) {
+              if ($view->access($tab['display'])) {
+                $view->set_display($tab['display']);
+                $view->set_arguments($tab['args']);
+                $output = $view->preview();
+                cache_set($cid, $output, 'cache', time() + 5*60);
+              }
+              else {
+                $output = t('You are not authorized to access this content.');
+              }
+              $view->destroy();
             }
-            $view->destroy();
           }
         }
         else {
