Schedule gzip during retrieval. Fix of GET of lessons (sorting, filtering overdue lessons).