Web lists-archives.com

Re: [PHP] feature request : gzip caching




On Sat, Aug 27, 2016 at 9:26 PM, Rene Veerman <
rene.veerman.netherlands@xxxxxxxxx> wrote:

> ---------- Forwarded message ----------
> From: Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>
> Date: Sun, Aug 28, 2016 at 3:03 AM
> Subject: Re: [PHP] feature request : gzip caching
> To: Rene Veerman <rene.veerman.netherlands@xxxxxxxxx>
>
>
> Please don't top-post.
>
> Nginx was probably suggested as a lightweight web server, instead of
> Apache. I can't say I've ever seen both used at the same time.
>
> Any developer who is serious about their career has an understanding of how
> web servers work and the server caching capabilities. If they don't, I
> think it's fair to say they're still pretty junior and ideally would be
> helped by a more senior developer.
>
> I struggle to understand why you're making PHP responsible for trying to
> cache js files that are only requested by the front end. It feels like
> you're overcomplicating things somewhat.
>
>
> ---------- Forwarded message ----------
> From: Rene Veerman <rene.veerman.netherlands@xxxxxxxxx>
> Date: Sun, Aug 28, 2016 at 3:24 AM
> Subject: Re: [PHP] feature request : gzip caching
> To: Ashley Sheridan <ash@xxxxxxxxxxxxxxxxxxxx>
>
>
> i'll top-post whenever i like.. don't tell other ppl how to format
> documentation / discussions, please.
>
> and to answer to your comment : i strongly disagree. it makes sense for
> those working on complicated webapps to limit the number of knowledge pools
> they must master and keep up to date..
> hell, i dont even get into canvas and webgl because the knowledge domain is
> so large and different from *my domain*; HTML, JS, CSS, JSON..
> seriously, you can not expect complicated beautiful apps to be written for
> browsers until you recognize that limitation on human ability..
>

The top post rule is a guideline for all PHP mailing lists:

http://php.net/mailing-lists.php
http://git.php.net/?p=php-src.git;a=blob_plain;f=README.MAILINGLIST_RULES;hb=HEAD

I expect that if you minimize your entire JS file it would be around 200kb
(since jQuery itself goes down from 500kb to 85kb).