[aklug] Re: Removing newlines from minified javascript

From: Royce Williams <royce@tycho.org>
Date: Wed Aug 08 2012 - 18:18:59 AKDT

I'm injecting myself late into this thread ... but a couple of
questions and points:

* How much space savings are you seeing from stripping the newlines?
Can you post actual size, before and after?

* How many JavaScript-loading URLs are you loading per page? Just the
one, or multiple?

* Perhaps the simple jsmin pass (maybe coupled with compression on the
server side) would be easier?

* Unless you're dynamically generating/altering the JavaScript, won't
it be relatively static (and therefore only loaded on first visit)?

* If you're worried about page load times, are you loading the
JavaScript asynchronously?

Royce
---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.
Received on Wed Aug 8 18:19:28 2012

This archive was generated by hypermail 2.1.8 : Wed Aug 08 2012 - 18:19:28 AKDT