-
Notifications
You must be signed in to change notification settings - Fork 51
Open
Description
Hey,
I was downloading a file mbtiles
files for a map, and noticed that the files were uncompressed. I checked with gzip, and was able to get a compression ratio of 0.56
for f.ex. Chile and 0.68
for Canada:
455M chile.mbtiles
255M chile.mbtiles.gz <-- 200 MB saved
5.2G canada.mbtiles
3.6G canada.mbtiles.gz <-- 1.6 GB saved
Given that the files are static and rarely updated, wouldn't it be prudent to have them compressed?
By compressing them statically, and then setting the Content-Transfer-Encoding
header, the end result for clients should be identical to what it is now (as browsers will decode them before saving ..). That, or just serve up the .gz
files so clients will know they're GZipped.
Metadata
Metadata
Assignees
Labels
No labels