Apache Lounge



Forum Index Downloads Search Register Log in  RSS Apache Lounge

Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.



A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.

Mod pagespeed for Windows ?

Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules

View previous topic :: View next topic  
Author Message

Joined: 06 Jan 2011
Posts: 132
Location: France

PostPosted: Mon 30 Dec '13 12:07    Post subject: Mod pagespeed for Windows ? Reply with quote


Is there a way to get this mod for apache on windows ?


Back to top
James Blond

Joined: 19 Jan 2006
Posts: 6414
Location: Germany, Next to Hamburg

PostPosted: Tue 31 Dec '13 11:47    Post subject: Reply with quote

Not at the moment. I've looked into the source code and it doesn't seem to ready to even get compiled under windows ( far from running).

In some cases there is a need for a small refactor to hide a dependence on something that's really unix-specific, such as the call to apr_setup_signal_thread() in serf_url_async_fetcher.cc.

There are also a few places where the code has never been compiled on Windows before and we are calling strcasecmp or similar. We have portable equivalents to those (StringCaseCompare, StringCaseEqual etc) but we'd have to just go and change the calls. The only difficulty is the source-of-truth for some of that code is not under modpagespeed team's control so they'd have to get the owners to change it, if they wanted to have Windows-support built into the base distribution.

But, if your goal is a one-time port of the current revision of mod_pagespeed it shouldn't be hard to just rip out all the unix-specific stuff and replace it, where needed, with Windows-specific stuff.

The only thing that's very complicated is the shared-memory class library, but that could mostly be stubbed out if you are running an Apache MPM that does not make child processes for requests. In fact that is prefork mpm Mad
Also there is a need for pthreads library windows version. I've seen only a cygwin (not so well running) version.

Unless there is someone really willing to rewrite a lot of code I don't think that it will ever come.
Back to top

Post new topic   Reply to topic    Apache Forum Index -> Apache third-party Modules
Page 1 of 1