I have a sitemap.xml that runs in 1.5 GB.
How do I serve that sitemap.xml compressed from nginx such that it will be compressed only once and then served? Probably using caching too (if possible)
Also I periodically update the sitemap.xml. So in that case it compressed site map should be invalidated and the new one compressed