Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Mod pagespeed for Windows ? |
|
Author |
|
bagu
Joined: 06 Jan 2011 Posts: 193 Location: France
|
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Tue 31 Dec '13 11:47 Post subject: |
|
|
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
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 |
|
|
|
|
|
|