Express offer for the development of a fast online store for 7999 UAH details...

Why if you open the map link in the browser, error: “error on line 1 at column 1:Encoding error”?

This problem occurs if the store behind a bunch of two servers - apache and nginx. In this case, in fact, nginx is configured to compress according to content-type, which in the case of the site map is application/xml. In this case, nginx, despite the fact that the content is already compressed, it compresses it again.

To deal with this problem just disable compression in the settings of the module “site Map” and check what nginx will do.

And you can see that even with compression turned off we get a response with Content-Encoding: gzip. It is also seen that the actual size of the saved file is much larger than the amount of data transferred over the network. All this can be seen in developer tools, or firebug.