Welcome! Log In Create A New Profile

Advanced

Re: [ANN] Naive port of mod_pagespeed for nginx

Joshua Marantz
June 07, 2011 12:12AM
On Mon, Jun 6, 2011 at 6:37 PM, Matthieu Tourne
<matthieu.tourne@gmail.com>wrote:

> I think I started looking at creating a RewriteOptions object, but got side
> tracked and this project has been idle for a little while.
> I just updated it this weekend for the latest mod_pagespeed, and put it out
> there.
>

Cool. As you get time to push this forward, please don't hesitate to ask
questions.

I like how the instaweb API is designed, and how you provide "backend
> functionalities" through adapter objects (if I remember correctly).
> With nginx extensive subrequests mechanism, fetching external resources
> shouldn't be too difficult.
>

Thanks! It was a goal up front to make ports like this possible.

This Makefile could definitely help. I was also wondering if there was a
> python lib that could make sense of Google's internal build files ?
>

I'm not 100% sure -- we are not experts in the .gyp file system ourselves
although there is doc here:
http://code.google.com/p/gyp/wiki/InputFormatReference. What problem are
you trying to solve?



> Thank you!
>
> Matthieu.
>
>
> On Mon, Jun 6, 2011 at 3:21 PM, Joshua Marantz <jmarantz@google.com>wrote:
>
>> 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
>> https://github.com/mtourne/ngx_instaweb/blob/master/ngx_http_instaweb_module.cpp
>> .
>>
>> 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.
>>
>> Please also check this out:
>>
>>
>> http://code.google.com/p/modpagespeed/source/browse/trunk/src/net/instaweb/automatic/Makefile
>>
>> We'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's parser & algorithms into a
>> new platform.
>>
>> -Josh
>>
>>
>
_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

[ANN] Naive port of mod_pagespeed for nginx

Matthieu Tourne 4157 June 06, 2011 02:26PM

Re: [ANN] Naive port of mod_pagespeed for nginx

Matthieu Tourne 950 June 06, 2011 06:38PM

Re: [ANN] Naive port of mod_pagespeed for nginx

Joshua Marantz 974 June 07, 2011 12:12AM

Re: [ANN] Naive port of mod_pagespeed for nginx

Joshua Marantz 1030 June 07, 2011 12:12AM

Re: [ANN] Naive port of mod_pagespeed for nginx

Joshua Marantz 867 June 07, 2011 12:12AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 254
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready