clear last modified
Merge pull request #23 from pagespeed/jefftk-clear-last-modified

clear last modified
Merge pull request #15 Add content handler for .pagespeed resources

Pagespeed generates urls like:
    /script.js.pagespeed.ce.FjFFoSiQs4.js
when it moves a resource. Add a content handler that accepts
these requests and passes them through to pagespeed.
merge pull request #22 Support Custom Options

off by default, either of these commands below would fetch the example file with the filter on:

     curl 'http://localhost:8050/mod_pagespeed_example/add_instrumentation.html?ModPagespeedFilters=add_instrumentation'
     curl --header 'ModPagespeedFilters:add_instrumentation' 'http://localhost:8050/mod_pagespeed_example/add_instrumentation.html'

Compared to just

     curl http://localhost:8050/mod_pagespeed_example/add_instrumentation.html

the difference is that there's a chunk of complicated javascript at the end
added by the filter.
describe how to run tests
we don't append a comment anymore
show grep output
enable core filters by default instead of just cache extension
ngx_pagespeed: respect ModPagespeed=off

One of the things you can do with headers or query params is turn off mod
pagespeed:

    curl -D- 'http://localhost:8050/mod_pagespeed_example/combine_css.html'
    curl -D- 'http://localhost:8050/mod_pagespeed_example/combine_css.html\
      ?ModPagespeed=off'

We weren't respecting this fully before, still removing the etag, dropping the
content length, etc.

merge of pull request #28
options: don't run furious when we have custom options

If custom_options were set by GetQueryOptions(), don't run the experiment
framework. We don't want experiments to be contaminated with unexpected
settings.
headers: use headers generated by pagespeed

Pagespeed puts headers in ngx_base_fetch->response_headers() and nginx calls
NgxBaseFetch::CollectHeaders to get them out, which wasn't implemented before.

Other minor changes in this commit:
 - whitespace fixes
 - ordering of includes
 - ngx_http_pagespeed_str_to_string_piece now takes its argument by value
fix obselete comment
Released the connection attached with the pipe
This problem could cause the connection and event leak with Nginx.
apr and serf: link in apr, apr-utils, and serf

- Links in apr, apr-utils, and serf.
- Replaces the wget fetcher with serf, which will be replaced later
on with the native fetcher.
Merge pull request #32 from pagespeed/oschaaf-apr-serf-test

this branch links in apr, aprutil and serf, and adds the serf fetcher 
Fetcher: switch us back to the wget fetcher

Commit b1eb547275, which added the serf fetcher, broke fetching.  For now,
switch back to the wget fetcher.
Caching: File System Cache

Merging in Otto's file system cache code from pull request #46.
Revert "Fetcher: switch us back to the wget fetcher"

This reverts commit 8a8066ec02e1df28e1e81898695d0493c8c482cf.

Couldn't reproduce the problems with the serf fetcher, so switching back to it.
configuration: prepare to parse options

Set up the background code for connecting pagespeed configuration structures
(RewriteOptions) to the companion nginx ones.  Passes all the actual work
through to NgxRewriteOptions::ParseAndSetOptions which isn't written yet.
(All it does so far is interpret "pagespeed on/off".)

Adding nginx subclasses of RewriteOptions and ServerContext are a bit overkill
for this change, but we're going to need them a lot.

Once configuration is complete, any mod_pagespeed configuration directive should
work in ngx_pagespeed:

    mod_pagespeed.conf:
      ModPagespeedEnableFilters collapse_whitespace
      ModPagespeedRunExperiment on
      ModPagespeedExperimentSpec id=3;percent=50;default
      ModPagespeedExperimentSpec id=4;percent=50

    ngx_pagespeed.conf:
      pagespeed ModPagespeedEnableFilters collapse_whitespace
      pagespeed ModPagespeedRunExperiment on;
      pagespeed ModPagespeedExperimentSpec "id=3;percent=50;default";
      pagespeed ModPagespeedExperimentSpec "id=4;percent=50";

The `ModPagespeed` is optional, and discouraged:

    ngx_pagespeed.conf:
      pagespeed EnableFilters collapse_whitespace
      pagespeed RunExperiment on;
      pagespeed ExperimentSpec "id=3;percent=50;default";
      pagespeed ExperimentSpec "id=4;percent=50";
Merge pull request #45 from yaoweibin/fixed_connection

Release the connection attached to the pipe