<div dir="ltr">On Mon, Feb 4, 2013 at 11:33 PM, Prasad <span dir="ltr">&lt;<a href="mailto:prasad@vtiger.com" target="_blank">prasad@vtiger.com</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div>When the module is disabled / enabled - it should take care of registering the resources.</div></blockquote><div><br></div><div style>That&#39;s a global boolean.  I&#39;m saying that for a module (e.g. Products) that I don&#39;t have ModTracker turned on for, it still loads ModTrackerCommon.js</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div></div><div>Did you take look at of <a href="https://developers.google.com/speed/pagespeed/mod" target="_blank">mod_pagespeed</a> - let us know your observation?</div>
</blockquote><div><br></div><div style>The only thing PageSpeed complains about now are also flagged when I run it against <a href="http://demo.vtiger.com">demo.vtiger.com</a>:</div><div style><br></div><div style><div>Leverage browser caching</div>
<div> - We&#39;ve taken the .js?v=5.4.0 technique and applied it more generally, so that after our release currently in alpha goes live, I will set ExpiresByType text/javascript &quot;access plus 6 months&quot;.</div><div>
<br></div><div>Combine images into CSS sprites<br></div><div style>- Moving to jQueryUI icons would help this; Bootstrap probably does something similar.</div><div style><br></div><div>Defer parsing of JavaScript<br></div>
<div style>- This is basically the problem I&#39;m tackling now; there is much too much javascript being loaded -- and not used.  It might be worth rolling this into the HEADERSCRIPT logic; a defer bit.</div><div><br></div>
<div>Minify JavaScript<br></div><div style>- I wrote a system to do this at a previous job -- even going so far as to combine files that were separate in development into a single minified file in production.  I think this has a lot more value if you are running a site with a lot of unique visitors, instead of a CRM with a smaller number of recurring visitors. Don&#39;t want them to bounce on their initial visit because the page takes too long.</div>
</div><div><br></div></div></div></div>