by garyro 10 May 2014, 03:10
According to the documentation for writing and app the index.php gets called each time the button is pressed. Since in this app all the index.php does is load the same 500 bytes of javascript and run it the app is wasting memory. Click the button 100 times and that's a lot of memory.