diff --git a/system/expressionengine/third_party/stash/models/stash_model.php b/system/expressionengine/third_party/stash/models/stash_model.php index 164f767..4eeacba 100755 --- a/system/expressionengine/third_party/stash/models/stash_model.php +++ b/system/expressionengine/third_party/stash/models/stash_model.php @@ -870,6 +870,13 @@ protected function insert_ignore_batch($table, array $data) { $_values = array(); + // static caching - save an index of the variable only? + if (ee()->config->item('stash_static_cache_index') + && $this->_can_static_cache($row['bundle_id'])) + { + $row['parameters'] = ''; // remove variable content + } + foreach ($row as $col => $val) { // add key