Mobile app version of vmapp.org
Login or Join
Smith883

: How to enable gzip compression for CSV files on Github Pages? Pretty much title. The majority of my Github Pages site is being gzipped, but for some reason CSV files are ignored. This is unfortunate,

@Smith883

Posted in: #Compression #Github #Jekyll #Nginx

Pretty much title. The majority of my Github Pages site is being gzipped, but for some reason CSV files are ignored. This is unfortunate, because for some client-side visualizations a 10 megabyte CSV file is sent over the wire. This results in a long page-load time.

I've tried gzipping the file locally and it reduces the filesize substantially. Is there any way to enable this sort of compression for CSV files? I believe Github Pages uses nginx but I don't see any option in the Jekyll or other settings to modify nginx settings to include csv gzip compression.

I see Github Pages gzips HTML, CSS, JS, JSON, etc. but not CSV?

10% popularity Vote Up Vote Down


Login to follow query

More posts by @Smith883

0 Comments

Sorted by latest first Latest Oldest Best

Back to top | Use Dark Theme