Set Cache-Control: no-cache on /update
Rename response object
Add version jinja filter, which adds timestamps of a file's last modification to the query string of static files, allowing instant updating of changed files despite being cached. (Though apparently it breaks caching on old IE and older versions of squid)