Newsgroups: php.general,php.internals Path: news.php.net Xref: news.php.net php.general:325689 php.internals:95463 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7867 invoked from network); 27 Aug 2016 17:22:37 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 27 Aug 2016 17:22:37 -0000 Authentication-Results: pb1.pair.com smtp.mail=rene.veerman.netherlands@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=rene.veerman.netherlands@gmail.com; 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:32997] helo=mail-qk0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 89/73-34481-D5CC1C75 for ; Sat, 27 Aug 2016 13:22:37 -0400 Received: by mail-qk0-f181.google.com with SMTP id z190so104536976qkc.0; Sat, 27 Aug 2016 10:22:37 -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 :cc; bh=245uTNx15hx8FjgJEgDwif0tACOQsbxIDpYWH+9btDY=; b=1I9zsSF1YRBqxaCp3785H0MFmsrGVtiJbSIhSEEgMMa0koKPeLBj8xJ3CuWhPiaSJL vh6V0aLaMr9aJ+r65skB7BpoeZOVyiUcws+Kmtm+vnO+SYpAOTTxK4c/qcH5dOk3oNIW XQsSY3tqU3crRDsd2Xd/jEboYbNrrbPLJnGvFkiAO+goFMdzoO/1jYyKt+E61qtV52P6 L3cDF04XR1oDKSOkwMeW6Z/mid5D44OwGZGJriA/b/ET9l+at6d8YOwROLiqd290dHlg 0Mws5Bva/PIQULd87JDwnsr6dgF+x2Y73qbO30oXaHFQbvdDS2PrSiTWQ+gks1cP87+X W/ew== 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:cc; bh=245uTNx15hx8FjgJEgDwif0tACOQsbxIDpYWH+9btDY=; b=dGKB4ITPv2z7pNiSpTlgmL2IG4DJfvqHi4iBTQNkvxNlIx/ER8wYXRGsR/fiWK8iou vEGmGS7RgQ2BE3oR2vzt8tr/j/77H6LUK4T1SGFwPHi6rPDaAlB4migmikZViUHcXtIc BUNN6LVoy4A3qUxWZx3dkaw3jEmi7fxWoR4We2MI7E7rqvvyHEwgcCmFuKaXBJC1rIRX 6CU/M8rWFLf5KmNTPhLp0p8MLXFtlDIYLo8Zu84jiYAS7cuY8UE21GVcC4xo+r/zMpI4 yom+ZzJYtTRiXJCitE2pJ/QOKJlmedbjNR/S4uNfz6x3m9vblLZ94ZRNhTNzm7O3YlfL soDw== X-Gm-Message-State: AE9vXwOdrLmLXBZdyhO/sm93tPSwkIyHVxvmhtEWDq5DPb/qLpqdIatLFNQaMnvOVbiOVm/BlPShRy4g9mBb1g== X-Received: by 10.55.24.105 with SMTP id j102mr9792857qkh.165.1472318554255; Sat, 27 Aug 2016 10:22:34 -0700 (PDT) MIME-Version: 1.0 Received: by 10.200.52.68 with HTTP; Sat, 27 Aug 2016 10:22:13 -0700 (PDT) In-Reply-To: <5E615A59-AC2B-455F-9438-D295419F3767@ashleysheridan.co.uk> References: <5E615A59-AC2B-455F-9438-D295419F3767@ashleysheridan.co.uk> Date: Sat, 27 Aug 2016 19:22:13 +0200 Message-ID: To: Ashley Sheridan Cc: php-general@lists.php.net, internals@lists.php.net Content-Type: multipart/alternative; boundary=001a1142e54c6c3931053b10e0c7 Subject: Re: [PHP] feature request : gzip caching From: rene.veerman.netherlands@gmail.com (Rene Veerman) --001a1142e54c6c3931053b10e0c7 Content-Type: text/plain; charset=UTF-8 eh no, i'm a big fan of caching output in js / json cache files :) but those still need to get gzipped... not just my main JS file, also my photoalbum contents -> another 1Mb of JSON content... On Sat, Aug 27, 2016 at 7:19 PM, Ashley Sheridan wrote: > > > On 27 August 2016 17:52:48 BST, Rene Veerman 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)).. > > 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. > --001a1142e54c6c3931053b10e0c7--