From: Andrew Dolgov Date: Tue, 20 May 2008 06:48:54 +0000 (+0100) Subject: backend/feeds: add gzip X-Git-Tag: 1.2.23-final~24 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=877be7815b5a122e7090ebdd8772997c5f0c23c8;p=tt-rss.git backend/feeds: add gzip --- diff --git a/backend.php b/backend.php index a85351d8..a6cb18a4 100644 --- a/backend.php +++ b/backend.php @@ -158,6 +158,10 @@ break; // rpc case "feeds": + if (ENABLE_GZIP_OUTPUT) { + ob_start("ob_gzhandler"); + } + $tags = $_GET["tags"]; $subop = $_GET["subop"];