Fix analysis_detail template
Gzip api calls