]> git.sesse.net Git - remoteglot/commit - www/js/remoteglot.js
Send the first JSON inline.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 12 Jul 2023 10:18:22 +0000 (12:18 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 12 Jul 2023 10:18:22 +0000 (12:18 +0200)
commitb4498c56489f3accf18014c17b771fa61e7888b9
tree874a2c5d8cc63dd105fb5cbae0adf982abb228ae
parent18cc671e78bcf74545535ab2ab7e4dc0ef3b6b58
Send the first JSON inline.

This removes a round-trip, although it's probably slightly less bandwidth-efficient
and definitely more complex. You'll need to make Varnish rewrite / to /index-inline.html
and send it to the backend. It doesn't work on the .dev version, unfortunately.
www/analysis.pl [changed mode: 0755->0644]
www/index.dev.html
www/js/remoteglot.js