<div><div>Out of curiosity, have you defined a mechanism to configure nginx to use any of the predefined filters?  It looks like you were aware of RewriteOptions, which is the API-based equivalent to pagespeed.conf, but you are not using it yet in <a href="https://github.com/mtourne/ngx_instaweb/blob/master/ngx_http_instaweb_module.cpp">https://github.com/mtourne/ngx_instaweb/blob/master/ngx_http_instaweb_module.cpp</a>.<div>

<br></div><div>The next step in your nginx integration looks to be resource-handling and fetching.  Specifically, you need to define a way to fetch external HTTP resources referenced on a page, and a way to handle fetches for rewritten resources.  We can help you if you have any questions feel free to reach out.</div>

</div></div><div><br></div><div>Please also check this out:  </div><div><br></div><div><a href="http://code.google.com/p/modpagespeed/source/browse/trunk/src/net/instaweb/automatic/Makefile">http://code.google.com/p/modpagespeed/source/browse/trunk/src/net/instaweb/automatic/Makefile</a></div>

<div><br></div><div>We&#39;ve been working along the same lines you have:  starting with a mod_pagespeed build, generate a linkable library that has the kernel of functionality needed to integrate mod_pagespeed&#39;s parser &amp; algorithms into a new platform.</div>

<div><br></div><div>-Josh</div><div><br></div>