{"id":529,"date":"2007-07-19T17:10:41","date_gmt":"2007-07-19T14:10:41","guid":{"rendered":"https:\/\/toddbolen.com\/2007\/07\/19\/need-help-with-javascript\/"},"modified":"2007-07-19T17:10:41","modified_gmt":"2007-07-19T14:10:41","slug":"need-help-with-javascript","status":"publish","type":"post","link":"https:\/\/toddbolen.com\/blog\/2007\/07\/19\/need-help-with-javascript\/","title":{"rendered":"Need Help with JavaScript"},"content":{"rendered":"<p>I don&#8217;t know if any of my readers would be able to help me, or point me in the direction of help.&nbsp; I have a rather large (120kb) js file for a webpage sidebar menu that takes a long time to load (15 sec), but it&#8217;s not an issue of download speed.&nbsp; I don&#8217;t know if it&#8217;s a bug in the file or something inherent to large js files and browsers.&nbsp; Alternately (or in addition) I could set it so that the the js file is loaded in the browser&#8217;s cache and doesn&#8217;t reload every time, but I don&#8217;t know how to do that.&nbsp; If anyone is knowledgeable about these things and&nbsp;can help or suggest a person who could, I&#8217;d appreciate it.<\/p>\n<p>UPDATE (7\/20): <a href=\"http:\/\/www.dlarsen.com\/\">David Larsen<\/a> has figured it out.&nbsp; There doesn&#8217;t seem to be an easy solution, but at least I know the cause of the problem.&nbsp; Thanks David!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I don&#8217;t know if any of my readers would be able to help me, or point me in the direction of help.&nbsp; I have a rather large (120kb) js file for a webpage sidebar menu that takes a long time to load (15 sec), but it&#8217;s not an issue of download speed.&nbsp; I don&#8217;t know\u2026 <span class=\"read-more\"><a href=\"https:\/\/toddbolen.com\/blog\/2007\/07\/19\/need-help-with-javascript\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-529","post","type-post","status-publish","format-standard","hentry","category-computer"],"_links":{"self":[{"href":"https:\/\/toddbolen.com\/blog\/wp-json\/wp\/v2\/posts\/529","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/toddbolen.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/toddbolen.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/toddbolen.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/toddbolen.com\/blog\/wp-json\/wp\/v2\/comments?post=529"}],"version-history":[{"count":0,"href":"https:\/\/toddbolen.com\/blog\/wp-json\/wp\/v2\/posts\/529\/revisions"}],"wp:attachment":[{"href":"https:\/\/toddbolen.com\/blog\/wp-json\/wp\/v2\/media?parent=529"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/toddbolen.com\/blog\/wp-json\/wp\/v2\/categories?post=529"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/toddbolen.com\/blog\/wp-json\/wp\/v2\/tags?post=529"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}