From fee3b8cdb62d95d4aa32e52e79e2e72238d5d987 Mon Sep 17 00:00:00 2001 From: Florian Pritz Date: Sat, 21 Apr 2012 14:05:33 +0200 Subject: Disable cache for upload_history for now. Signed-off-by: Florian Pritz --- application/controllers/file.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'application') diff --git a/application/controllers/file.php b/application/controllers/file.php index cc5cf159c..751b72ce2 100644 --- a/application/controllers/file.php +++ b/application/controllers/file.php @@ -172,7 +172,9 @@ class File extends CI_Controller { $cached .= $this->load->view($this->var->view_dir.'/header', $this->data, true); $cached .= $this->load->view($this->var->view_dir.'/upload_history', $this->data, true); $cached .= $this->load->view($this->var->view_dir.'/footer', $this->data, true); - $this->memcachelibrary->set('history_'.$this->var->view_dir."_".$user, $cached, 42); + + // disable for now. reenable if it causes too much load + //$this->memcachelibrary->set('history_'.$this->var->view_dir."_".$user, $cached, 42); } echo $cached; -- cgit v1.2.3-24-g4f1b