I have about 14 css sheets and about 12 js files that need to load with my application.
I am using google pagespeed.
Instead of combining 14 sheets into 1 sheet its combining them into 3.
Even javascript combination is not working really well but it is to some extent. No minification there either.
I tried reading docs but can not really find much clue.
ALso it is not doing any minification. It is working but only to some extent
Here is all the code that has to do with this:
pagespeed on;
# Needs to exist and be writable by nginx.
pagespeed FileCachePath /var/ngx_pagespeed_cache;
pagespeed RewriteLevel PassThrough;
pagespeed EnableFilters add_head,combine_css,convert_meta_tags,convert_png_to_jpeg,extend_cache,fallback_rewrite_css_urls,flatten_css_imports,inline_css,inline_import_to_link,inline_javascript,rewrite_css,rewrite_images,rewrite_javascript,rewrite_style_attributes_with_url;
pagespeed EnableFilters combine_javascript,remove_comments,collapse_whitespace;
# Ensure requests for pagespeed optimized resources go to the pagespeed handler
# and no extraneous headers get set.
location ~ "\.pagespeed\.([a-z]\.)?[a-z]{2}\.[^.]{10}\.[^.]+" {
add_header "" "";
}
location ~ "^/ngx_pagespeed_static/" { }
location ~ "^/ngx_pagespeed_beacon$" { }
location /ngx_pagespeed_statistics { allow 127.0.0.1; deny all; }
location /ngx_pagespeed_message { allow 127.0.0.1; deny all; }
What filter have I missed?