Essentially, stores whether the request supports GZip compression in a context variable called gz.  From then on we can just use `{{ gz }}`, and it uses the stored value rather than recalculating it.