News for hackers. Stuff that matters.
Re:Security concerns with minified JavaScript code by wang_li on Monday August 31, 2015 @11:57AM (#10147400)
You can store both on disk, apache at least, will figure out if the client can handle gzipped content and will send the compressed version when possible.
Re:Security concerns with minified JavaScript code by arihant on Monday August 31, 2015 @02:42PM (#10148333)
But doing cache in this way sort of defeats the argument. Why would one cache a gzip copy instead of minified or minified+gipped? And minified alone is more efficient than gzip and can work regardless of client preference.

The argument here is why not simply use gzip and not use minification at all.

Re:Security concerns with minified JavaScript code by icebraining on Monday August 31, 2015 @12:23PM (#10147530)
Same for nginx, using the gzip_static module: http://nginx.org/en/docs/http/ngx_http_gzip_static_module.ht...