Newsgroups: php.general,php.internals Path: news.php.net Xref: news.php.net php.general:325685 php.internals:95460 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 93298 invoked from network); 27 Aug 2016 16:54:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Aug 2016 16:54:42 -0000 Authentication-Results: pb1.pair.com header.from=rene.veerman.netherlands@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=rene.veerman.netherlands@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.181 as permitted sender) X-PHP-List-Original-Sender: rene.veerman.netherlands@gmail.com X-Host-Fingerprint: 209.85.220.181 mail-qk0-f181.google.com Received: from [209.85.220.181] ([209.85.220.181:34324] helo=mail-qk0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 48/20-34481-1D5C1C75 for ; Sat, 27 Aug 2016 12:54:42 -0400 Received: by mail-qk0-f181.google.com with SMTP id t7so104131473qkh.1; Sat, 27 Aug 2016 09:54:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=lvC9fn5y78Dh3i0l1liiAoYf9uNSa4zQH24A90rd5Oc=; b=U/pYo89se0M1Pm4Sl/MpunIKe6H/ZWO/yE4OBGNq9Ap4YkfIo9UaIahABaiZBQvIub SCTbiO4EpPxyWUIraE+q9YIUUG55YRj6GcXzOxvD7/QvDqQ5WixkRY1CBBrtPqKe/hil 32WzRmxcl4mHi3GkDXJJHrBEkAw3SJYD0E/Dsalt53b04TasksRVTkNMu2KMq/ryP04a KCd3yQkQAAXLItUtCe2nvXmFGB9lE0oZhSGiJnF7wtPoaGqoErBlVBJfj0nOZcxuBfzU 71vd8HiMomsNyHt79oF0lrrYZoNpgy0STuSRCzI+e+LHOvoQXPN34FelD0vYNNaU12/D 673g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=lvC9fn5y78Dh3i0l1liiAoYf9uNSa4zQH24A90rd5Oc=; b=jPBS+eRSbnpG1hLeY2EMkcqVxOZzDcuWD6a4RRl6UBF6g3onlP3O5THTq8+86d50XB JVroJgBVIunsMj6AkMqccjm8z+3UpEY6o2sI7hJaUur5eEYfRNnT8+vfSXCdPBGlxGPw QySSZeIo5yB/YIiD0IWb15AzNlWNlqdtK/l4cKJTHriJGx/i7ReRKqqdPJdb678hIMlx UDtllZie9mORc25DlpVar7C8JYmSzO392/3FTaepBKG4EV4UZsAjWjha+AN0gqVDceMI Vfn4bqW6OoV0QhX71tgLzZ9ECxKy6dGbO1WccZd9/lSU96VopCzjCQD5JleCunCAfIWM hq4A== X-Gm-Message-State: AE9vXwMmIbDLUGtWPqIp4QPGuS32/sPsAV2uJCYqACWp4piX/KJcDd8EKuC0BjVTbFdPQZUC914LrqwOeXOxDQ== X-Received: by 10.55.153.68 with SMTP id b65mr3411448qke.10.1472316879193; Sat, 27 Aug 2016 09:54:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.52.68 with HTTP; Sat, 27 Aug 2016 09:54:18 -0700 (PDT) In-Reply-To: References: Date: Sat, 27 Aug 2016 18:54:18 +0200 Message-ID: To: php-general@lists.php.net, internals@lists.php.net Content-Type: multipart/alternative; boundary=94eb2c07e5b69510db053b107c0f Subject: Re: feature request : gzip caching From: rene.veerman.netherlands@gmail.com (Rene Veerman) --94eb2c07e5b69510db053b107c0f Content-Type: text/plain; charset=UTF-8 ideally this would be an extension to readfile, add a USE_GZIP optional flags parameter to the readfile() request... On Sat, Aug 27, 2016 at 6:52 PM, Rene Veerman < rene.veerman.netherlands@gmail.com> wrote: > Hi.. > > First off, i love PHP. Many thanks for keeping it free too. > > However, i've noticed that gzipping the 1Mb of javascript that my > seductiveapps.com needs, takes a relatively long time (measured over a > total page load time which i'd like to bring down from it's current 10 > seconds, about a second or even more is spent gzipping (by a core i5 > machine)).. > > At one time, i spent time building PHP code that cached the > already-gzipped content and outputted that with just readfile().. But i > never got it to work a second time, unfortunately.. > > Could you pretty please add this to the core of PHP? Shouldn't be that > hard for the internals team right?.. > > Many thanks in advance for even considering to do this.. > > with regards, > Rene Veerman, > CEO + CTO of seductiveapps.com > > --94eb2c07e5b69510db053b107c0f--