pagespeed/ngx_pagespeed — pull request #165 by oschaaf (2013-02-04 07:32:49+00:00)
Title: Instantiate the NgxRewriteDriverFactory up front

We need to have the NgxRewriteDriverFactory available at
configuration parse time to set options on it. This change moves
instantiation of the factory in front of configuration parsing.
Afterwards, a check is done to see if we where enabled anywhere.
If we where not enabled / do not have any active server contexts,
the NgxRewriteDriverFactory is deleted. It's not very elegant,
but we can't think of anything better currently.