Only compile the KML template once
Merge pull request #45 from danielrichman/kml-speed

Only compile the KML template once