From 6914ad1f741570b66580d2933e8e2118adb177b5 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 14 Aug 2019 12:44:50 +0300 Subject: retire MIN_CACHE_FILE_SIZE --- plugins/af_zz_imgproxy/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/af_zz_imgproxy') diff --git a/plugins/af_zz_imgproxy/init.php b/plugins/af_zz_imgproxy/init.php index 3c9744666..ddc30936f 100755 --- a/plugins/af_zz_imgproxy/init.php +++ b/plugins/af_zz_imgproxy/init.php @@ -67,7 +67,7 @@ class Af_Zz_ImgProxy extends Plugin { $disable_cache = $this->host->get($this, "disable_cache"); - if (!$disable_cache && strlen($data) > MIN_CACHE_FILE_SIZE) { + if (!$disable_cache) { if ($this->cache->put($local_filename, $data)) { header("Location: " . $this->cache->getUrl($local_filename)); return; -- cgit v1.2.3