add gzip compression to on-demand queries to lighten considerably the browsers's load thanks to @fmassot