<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>DOM Scripting comments: To obfuscate or not obfuscate, that is the question</title>
        <link>http://domscripting.com/blog/display/23</link>
        <description>There’s a new obfuscator on the block called ShrinkSafe.</description>
        <language>en</language>
        <item>
            <title>Alex Russell</title>
            <link>http://domscripting.com/blog/display.php/23#comment82</link>
            <content:encoded><![CDATA[<p>So as the author of ShrinkSafe, I&#8217;d like to note that the point was NEVER to write an obsfucator. We don&#8217;t strip out newlines or allow the mangling of public API signatures for that very reason. Any file you download that&#8217;s been run through ShrinkSafe should still be readable should you open it up in Veknman and say &quot;Pretty Print&quot;. I&#8217;m somewhat militantly anti-obsfucator, but at the same time, we need latency reducing tools that can be baked into a build process. Hence ShrinkSafe.</p>

<p>As for the advantages (or lack thereof) of mod_deflate and the like, all I can say is that as someone who doesn&#8217;t control the eventual deployment environment, I need to make sure that latency is as low as possible regardless of the relative Ops clue of a given user.</p>
]]></content:encoded>
            <pubDate>Sat, 15 Oct 2005 20:55:59 GMT</pubDate>
        </item>
        <item>
            <title>Dustin Diaz</title>
            <link>http://domscripting.com/blog/display.php/23#comment79</link>
            <content:encoded><![CDATA[<p>Lachlan,
I think there is a way you can do it with modZip on apache, so I refrain part of my statement. It just won&#8217;t cache with gZip (which is the php way of compression). Another draw back is that it&#8217;s calling an http request for it everytime. I tried gZipping my style sheet last month and my stats sky-rocketed for my style sheet (yuck). I just never got around to setting up mod_zip&#8230;</p>
]]></content:encoded>
            <pubDate>Fri, 14 Oct 2005 17:07:48 GMT</pubDate>
        </item>
        <item>
            <title>Lachlan Hunt</title>
            <link>http://domscripting.com/blog/display.php/23#comment77</link>
            <content:encoded><![CDATA[<p>Dustin, I didn&#8217;t know about the caching problem in IE, but I figure: tough luck.  If a user&#8217;s broken browser doesn&#8217;t cache things properly and makes their browsing slower, especially when using compression that&#8217;s actually designed to make things faster f or everybody else, then that&#8217;s not my problem.</p>
]]></content:encoded>
            <pubDate>Fri, 14 Oct 2005 01:17:09 GMT</pubDate>
        </item>
        <item>
            <title>bruce</title>
            <link>http://domscripting.com/blog/display.php/23#comment76</link>
            <content:encoded><![CDATA[<p>I&#8217;m with Jeremy. The web would be nothing more than hyperlinked physics papers and corporate behemoths if it wasn&#8217;t for the first browser manufacturers having the &quot;view source&quot; option, as normal mortals wouldn&#8217;t have been able to see what&#8217;s under the hood.</p>

<p>In a similar spirit of democracy, Jeremy should really get around to publishing his &quot;marquee tag&quot; unobtrusive JavaScript &#8230;</p>
]]></content:encoded>
            <pubDate>Thu, 13 Oct 2005 13:01:30 GMT</pubDate>
        </item>
        <item>
            <title>Dustin Diaz</title>
            <link>http://domscripting.com/blog/display.php/23#comment74</link>
            <content:encoded><![CDATA[<p>Lachlan,
one problem about gZipping is that IE won&#8217;t cache. So it&#8217;s either &quot;quick&#8217;er&#8217; downloads all the time&quot; or &quot;one long download - then quick&#8217;est&#8217; downloads for the rest&quot;</p>

<p>I prefer caching so I&#8217;d go for the crunching. Just be sure to keep a local backup of the original &quot;readable&quot; file.</p>
]]></content:encoded>
            <pubDate>Thu, 13 Oct 2005 07:19:46 GMT</pubDate>
        </item>
        <item>
            <title>Lachlan Hunt</title>
            <link>http://domscripting.com/blog/display.php/23#comment73</link>
            <content:encoded><![CDATA[<p>If your server gzips everything before sending to the client, then the file size benefits gained by stripping unnecessary white space and whatever else obfuscators do, is minimal.  For any other reason, the desire to hide the source code is in inverse proportion to the value of that code to anybody else.</p>
]]></content:encoded>
            <pubDate>Thu, 13 Oct 2005 05:14:36 GMT</pubDate>
        </item>
   </channel>
</rss>