Answer the question
In order to leave comments, you need to log in
How to make nginx compress static files with get parameters?
Actually nginx perfectly compresses all js and css files, but if there is a get parameter in the file, for example mysite.com/my.js?v73. Then he does not compress such files, how can he make them compress?
Answer the question
In order to leave comments, you need to log in
Maybe the mime type of files with versions is different? Then add to gzip_types
And also change to every min. http version (gzip_http_version 1.0)
Puma, off topic, but is it possible to get an answer from you on another question, I wrote you an email: [email protected]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question