readme: clarify how to convert mod_pagespeed config to ngx_pagespeed

This commit is contained in:
Jeff Kaufman
2013-04-17 13:35:24 -04:00
parent 6aaea911c5
commit fb56e50ecf
+4 -2
View File
@@ -112,8 +112,10 @@ X-Page-Speed: 1.4.0.0-2729
Looking at the source of a few pages you should see various changes, such as
urls being replaced with new ones like `yellow.css.pagespeed.ce.lzJ8VcVi1l.css`.
Most mod_pagespeed configuration directives work in ngx_pagespeed after a small
adjustment: replace '"ModPagespeed"' with '"pagespeed "':
When reading the [mod_pagespeed
documentation](https://developers.google.com/speed/docs/mod_pagespeed/using_mod),
keep in mind that you need to make a small adjustment to configuration
directives: replace '"ModPagespeed"' with '"pagespeed "':
mod_pagespeed.conf:
ModPagespeedEnableFilters collapse_whitespace,add_instrumentation