Add option to gzip sitemaps? #10
Replies: 3 comments
-
ASP.NET Core 1.1 added GZIP compression. The template has been updated to include this. Related: Dotnet-Boxed/Templates#124 |
Beta Was this translation helpful? Give feedback.
-
You link to an issue that indicates you decided to NOT implement this in the ASP.NET Core version. However, I figured from that all I actually needed was to add the mimeType in my web.config
|
Beta Was this translation helpful? Give feedback.
-
The issue I linked was regarding an optional |
Beta Was this translation helpful? Give feedback.
-
In the home controller of templates could theoretically comment out and gzip as below, however that would negate the point of caching, so needs to be implemented and tested in GetSitemapDocuments() which is part of framework.
You may also want to add "application/x-gzip" to your ContentType enumeration.
Beta Was this translation helpful? Give feedback.
All reactions