I have a google apps script deployed as web app. I'm trying to refresh the content by replacing the .innerHTML of some divs with html that is sent back from the server.
For a modest amount of simple html (no more than 3 layers deep, basically 15 grids of 4x21 divs each) it's taking 25 seconds.
I recorded timestamps and found that it acually is the calls to mydiv.innerHTML = newhtml (in the client) that are taking up all that time.
Is this caja sanitation? Reloading the whole page takes about 10 seconds, including at least 4 seconds of server time that I know of. So why is this almost an order of magnitude slower?
Thanks.