Skip to content

Commit cd24d88

Browse files
authored
Merge pull request #281 from cmu-delphi/compress-csv
Compress CSV responses from the API
2 parents d7476a2 + 75f3e47 commit cd24d88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/.htaccess

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ Header set Access-Control-Allow-Origin "*"
33

44
# Compress API responses
55
<IfModule mod_deflate.c>
6-
AddOutputFilterByType DEFLATE application/json
6+
AddOutputFilterByType DEFLATE application/json text/csv
77
</IfModule>
88
<IfModule mod_brotli.c>
9-
AddOutputFilterByType BROTLI_COMPRESS application/json
9+
AddOutputFilterByType BROTLI_COMPRESS application/json text/csv
1010
</IfModule>
1111

1212
# Allow brief caching of API responses

0 commit comments

Comments
 (0)