[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANNOUNCE: XS-based minifiers for JS/CSS


wow, yep that's a really good point.  I have built a JSON app, but it just sends out data and the module that generates the JSON has minifier code built into it so I have never had the need to process it anywhere else.  But if you need to write JSON from scratch I can see where this module would be really useful.

Andrew


----- Original Message -----
From: "Michael Peters" <suppressed>
To: "Clinton Gormley" <suppressed>
Cc: "Boysenberry Payne" <suppressed>, "modperl List" <suppressed>
Sent: Monday, October 22, 2007 8:38:38 AM (GMT-0500) America/New_York
Subject: Re: ANNOUNCE: XS-based minifiers for JS/CSS

Clinton Gormley wrote:

> That is probably a very inefficient way of doing it.  I would guess that
> nearly all of the JS that you use on your site is common ie 90% of what
> you use on the site would be needed on each page that uses JS.
>
> It would make much more sense to put all of that JS into a single file,
> minified, and with a long expiry date. And then include the few lines of
> custom JS in a separate request, or even inline in the page itself.

You obviously haven't built a JSON API yet :) Each request will be JS and will
be different.

-- 
Michael Peters
Developer
Plus Three, LP



-- 
Andrew Wyllie
Dilex Networks, LLC
suppressed
866-479-4591


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.