{"id":146,"date":"2007-12-15T00:10:47","date_gmt":"2007-12-14T16:10:47","guid":{"rendered":"http:\/\/lesterchan.net\/wordpress\/2007\/12\/15\/compress-javascript-for-wp-polls\/"},"modified":"2007-12-15T00:14:20","modified_gmt":"2007-12-14T16:14:20","slug":"packed-javascript-for-wp-polls","status":"publish","type":"post","link":"https:\/\/lesterchan.net\/wordpress\/2007\/12\/15\/packed-javascript-for-wp-polls\/","title":{"rendered":"Packed Javascript For WP-Polls"},"content":{"rendered":"<p>As I have received many request to optimized the Javascript for WP-Polls (I will also do it for other plugins but I will beta test it with WP-Polls first), I have used <a href=\"http:\/\/dean.edwards.name\/packer\/\">Dean Edwards Packer<\/a> to pack my Javascript for WP-Polls and then I have moved the Dynamic Javascript variables out of the Javascript file and into the PHP page and now I can renamed it back to .js extension instead of .php.<\/p>\n<p>These 2 things that I have done should help reduce the load on the server.<\/p>\n<p>If are interested to test it out, you can download <a href=\"https:\/\/lesterchan.net\/wordpress\/download\/5\/\">WP-Polls 2.30 Beta 1<\/a>.  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>As I have received many request to optimized the Javascript for WP-Polls (I will also do it for other plugins but I will beta test it with WP-Polls first), I have used Dean Edwards Packer to pack my Javascript for WP-Polls and then I have moved the Dynamic Javascript variables out of the Javascript file &hellip; <a href=\"https:\/\/lesterchan.net\/wordpress\/2007\/12\/15\/packed-javascript-for-wp-polls\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Packed Javascript For WP-Polls&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[52,53],"class_list":["post-146","post","type-post","status-publish","format-standard","hentry","category-wp-polls","tag-dean-edwards","tag-packer"],"views":9850,"_links":{"self":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/posts\/146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/comments?post=146"}],"version-history":[{"count":0,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/posts\/146\/revisions"}],"wp:attachment":[{"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/media?parent=146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/categories?post=146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lesterchan.net\/wordpress\/wp-json\/wp\/v2\/tags?post=146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}