Newsgroups: php.general,php.internals Path: news.php.net Xref: news.php.net php.general:325687 php.internals:95462 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 3000 invoked from network); 27 Aug 2016 17:19:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Aug 2016 17:19:35 -0000 Authentication-Results: pb1.pair.com header.from=ash@ashleysheridan.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=ash@ashleysheridan.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain ashleysheridan.co.uk from 88.98.24.69 cause and error) X-PHP-List-Original-Sender: ash@ashleysheridan.co.uk X-Host-Fingerprint: 88.98.24.69 shcp02.hosting.zen.net.uk Received: from [88.98.24.69] ([88.98.24.69:59982] helo=shcp02.hosting.zen.net.uk) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/52-34481-5ABC1C75 for ; Sat, 27 Aug 2016 13:19:34 -0400 Received: from [213.205.198.167] (port=57771 helo=[10.51.66.115]) by shcp02.hosting.zen.net.uk with esmtpsa (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1bdhGI-0004rI-5J; Sat, 27 Aug 2016 18:19:26 +0100 User-Agent: K-9 Mail for Android In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Date: Sat, 27 Aug 2016 18:19:18 +0100 To: Rene Veerman ,php-general@lists.php.net,internals@lists.php.net Message-ID: <5E615A59-AC2B-455F-9438-D295419F3767@ashleysheridan.co.uk> X-OutGoing-Spam-Status: No, score=-2.8 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - shcp02.hosting.zen.net.uk X-AntiAbuse: Original Domain - lists.php.net X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - ashleysheridan.co.uk X-Get-Message-Sender-Via: shcp02.hosting.zen.net.uk: authenticated_id: ash+ashleysheridan.co.uk/only user confirmed/virtual account not confirmed X-Authenticated-Sender: shcp02.hosting.zen.net.uk: ash@ashleysheridan.co.uk Subject: Re: [PHP] feature request : gzip caching From: ash@ashleysheridan.co.uk (Ashley Sheridan) On 27 August 2016 17:52:48 BST, Rene Veerman 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)).. Are you building the js each time it's requested? Have you thought about building it as a deployment step for production? > >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.. > Why don't you want the web server to handle the gzip side of things? It would make more sense surely? >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 -- Sent from my Android device with K-9 Mail. Please excuse my brevity.