And you can also serve it this way.
You could add an encoding line to your Apache mod_rewrite (or other servers), so that it can be sent gzipped, but is opened in the browser (the map, …) as a usual gpx file:

AddType “text/xml” .gpxz
AddEncoding x-gzip .gpxz