pagespeed LoadFromFileRuleMatch disallow .*;
pagespeed LoadFromFileRuleMatch allow \.css$;
pagespeed LoadFromFileRuleMatch allow \.jpe?g$;
pagespeed LoadFromFileRuleMatch allow \.png$;
pagespeed LoadFromFileRuleMatch allow \.gif$;
pagespeed LoadFromFileRuleMatch allow \.js$;
Here are some common static file types:
pagespeed LoadFromFileRuleMatch disallow \.php$;
--
You received this message because you are subscribed to the Google Groups "ngx-pagespeed-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ngx-pagespeed-di...@googlegroups.com.
Visit this group at https://groups.google.com/group/ngx-pagespeed-discuss.
For more options, visit https://groups.google.com/d/optout.
Now now you tell me what you suggest? Keep things as it is or remove the css,js,jpg checks and disallow php simply.
As I mostly work on PHP, there is no other server side file format to disallow. Maybe HTML too if you want.
Looking forward to your suggestion
--
pagespeed UrlValuedAttribute video; //This is for the mp4 files
pagespeed DomainRewriteHyperlinks on; // But this is risky as it will rewrite normal hyperlinks too which are not images or static files
pagespeed UrlValuedAttribute source src hyperlink;
--