If we use pagespeed, we will have to use it's caching mechanism . I think It can not be used with nginx proxy module to cache the response.
Is there any Nginx C module available to minify js on the fly? I think js minification is more important compare to css and html as every web page contains multiple _javascript_ files and total size of js in web page could be more than css and html.
On Friday, March 7, 2014 7:52:22 PM UTC+5:30, Aapo Talvensaari wrote:
Doesn't ngx_pagespeed already do all this (should this module be integrated with default OpenResty bundle? Licensing issues?)
https://github.com/pagespeed/ngx_pagespeedOn Thursday, November 29, 2012 4:12:04 AM UTC+2, Edmund Lhot wrote:
Hi,
I've used openresty to serve a wordpress blog and I'm looking for a way to minify some static content. I found some examples in perl (http://bloke.org/linux/minify-css-fly-nginx/) but I'm in doubt if is the best approach, cause I'm already using lua to make a lot things so I prefer to use lua instead.
Someone knows any way to do minification in lua?
Tks.
Edmund