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" <[EMAIL PROTECTED]> To: "Clinton Gormley" <[EMAIL PROTECTED]> Cc: "Boysenberry Payne" <[EMAIL PROTECTED]>, "modperl List" <modperl@perl.apache.org> 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 [EMAIL PROTECTED] 866-479-4591