R
R
Roman Mirilaczvili2016-12-19 16:22:53
Browsers
Roman Mirilaczvili, 2016-12-19 16:22:53

Can the web client download the static file file.csv.gz by presenting it as file.csv?

From what I understand HTTP headers Accept-Encoding, Content-Encoding, the already compressed static file file.csv.gz will be re-compressed by the web server and unpacked as file.csv.gz. Or am I wrong?
Perhaps a stupid question, I wonder if it is possible, having a file.csv.gz file on the server, to download it as an unpacked file.csv? Thus, on the server side, disk space will be saved, and on the web client side, there is no need to use archivers to unpack the gz file.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton Ivanov, 2016-12-19
@Fly3110

nginx.org/ru/docs/http/ngx_http_gzip_static_module.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question