diff options
Diffstat (limited to 'plugins/af_zz_imgproxy/init.php')
-rw-r--r-- | plugins/af_zz_imgproxy/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/af_zz_imgproxy/init.php b/plugins/af_zz_imgproxy/init.php index 7de0c0229..870e12a08 100644 --- a/plugins/af_zz_imgproxy/init.php +++ b/plugins/af_zz_imgproxy/init.php @@ -69,7 +69,7 @@ class Af_Zz_ImgProxy extends Plugin { $disable_cache = $this->host->get($this, "disable_cache"); - if (!$disable_cache) { + if (!$disable_cache && strlen($data) > MIN_CACHE_FILE_SIZE) { if (file_put_contents($local_filename, $data)) { $mimetype = mime_content_type($local_filename); header("Content-type: $mimetype"); |