<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link="#0563C1" vlink="#954F72"><div class=WordSection1><p class=MsoNormal><span style='color:#1F497D'>Passing the information below along for Keith. He seems to be having some trouble posting to the list but thought others might find it useful. So he asked me to forward it along. <o:p></o:p></span></p><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><p class=MsoNormal><b><i><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'>Tripp Corbin, MCP, CFM, GISP</span></i></b><b><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'> </span></b><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'>| Chief Executive Officer</span><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#1F497D'><br></span><b><span style='font-size:18.0pt;font-family:"Times New Roman",serif;color:#1F4E79'><a href="http://www.egisassociates.com/"><span style='color:#1F4E79'>eGIS Associates, Inc.</span></a></span></b><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#1F497D'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'><a href="mailto:tcorbin@egisassociates.com"><span style='color:blue'>tcorbin@egisassociates.com</span></a> | <a href="www.egisassociates.com"><span style='color:blue'>www.egisassociates.com</span></a> </span><span style='color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'>678-710-9710 ext 21 | 866-</span><span lang=EN style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#1F497D'>304-3864 Fax</span><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:black'>Esri Certified Desktop Professional | Esri Certified Enterprise System Design Associate<o:p></o:p></span></p></div><p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b>From:</b> Keith Sandell <br><b>Sent:</b> Tuesday, July 07, 2015 12:11 PM<br><b>To:</b> <a href="mailto:shrug-l@lists.dep.state.fl.us">shrug-l@lists.dep.state.fl.us</a><br><b>Subject:</b> Esri Javascript API Performance<o:p></o:p></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Just a friendly note to other Esri Javascript API developers out there or others interested.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Recently I had to upgrade an app that was leveraging an older version of the Javascript API. This app also relied upon Dojo for styling and much of the functionality, i.e. searching for elements, etc.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I prefer jQuery to Dojo and decided to change courses there, but with the knowledge that using jQuery with the Dojo embedded API could cause conflicts. I wasn&#8217;t disappointed. When it was all said and done the clear method for graphics layers exhibited some rather peculiar phantomish behavior.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>I tried using the Esri hosted compact build, but that didn&#8217;t trim quite enough fat to solve the problem. I found that creating a custom build of the API that only included the minimum required modules solved the problem. It also made the application faster. While you can host your custom built API on Esri&#8217;s cloud I opted for a local hosting in the applications javascript folder.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>The only drawback that I see to this is that if you enhance the application and require, no pun intended, additional modules you will have to create a new build to satisfy the new requirements.<o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>For anyone interested you can find Esri&#8217;s Web Optimizer docs here:<o:p></o:p></p><p class=MsoNormal><a href="https://developers.arcgis.com/javascript/jshelp/inside_web_optimizer.html">https://developers.arcgis.com/javascript/jshelp/inside_web_optimizer.html</a> <o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><b><span style='font-family:"Times New Roman",serif'>Keith Sandell, MBA, GISP<o:p></o:p></span></b></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Times New Roman",serif;font-variant:small-caps;color:gray'>GIS Manager, Corporate Analytics<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Times New Roman",serif;font-variant:small-caps;color:gray'>Citizens Property Insurance Corporation<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Times New Roman",serif;font-variant:small-caps;color:gray'>2320 Killearn Center Blvd, Bldg D, Tallahassee, Florida 32309<o:p></o:p></span></p><p class=MsoNormal style='line-height:5.0pt;mso-line-height-rule:exactly'><span style='font-size:10.0pt;font-family:"Times New Roman",serif;color:gray'>-------------------------------------------------------<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Times New Roman",serif;color:gray'>ofc. 850.521.8341&nbsp;&nbsp; |&nbsp;&nbsp; cell 850.727.2897</span><span style='font-size:10.0pt;color:gray'><o:p></o:p></span></p><p class=MsoNormal>&nbsp;<o:p></o:p></p><p class=MsoNormal align=center style='text-align:center'><i><span style='font-size:7.5pt;font-family:"Arial",sans-serif'>&quot;If we are to achieve results never before accomplished we must expect to employ methods never before attempted.&quot; - Francis Bacon</span></i><o:p></o:p></p><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif'>This email and any attachments may contain confidential and privileged information and are solely for the use of the intended recipient(s). If you have received this email in error, please notify the sender immediately, and delete the original message. If you are not the intended recipient, please do not use, disclose, disseminate or distribute this email or any information contained in this email. Please be advised that emails are subject to the Florida Public Records Act, and any response to this email may be a public record. <o:p></o:p></span></p></div></body></html>