Commit Graph

32 Commits

Author SHA1 Message Date
Jeff Kaufman 9ab64ba3df update docs 2012-12-19 11:10:20 -05:00
Jeff Kaufman 599578f2b5 install docs: make more thorough 2012-12-14 17:10:37 -05:00
Jeff Kaufman ce91fe670f configuration: document content priority workaround 2012-12-14 11:44:07 -05:00
Jeff Kaufman 8198033f89 readme: minor typos 2012-11-30 17:17:40 -05:00
Jeff Kaufman 14c7fb1c8d system test: use PAGESPEED_EXPECTED_FAILURES for known bad tests 2012-11-30 17:12:13 -05:00
Jeff Kaufman 4b59d8badf caching: support memcached
Merge in Otto's #65 porting the apache memcached implementation to nginx.
2012-11-28 15:44:05 -05:00
Jeff Kaufman 23c967f864 readme: project is somewhat more ready than it was 2012-11-27 16:26:31 -05:00
Jeff Kaufman 263a6e4feb system test: set a maximum html size to process 2012-11-26 17:40:39 -05:00
Jeff Kaufman afb7105351 system test: add caching header 2012-11-26 17:18:17 -05:00
Jeff Kaufman 318e14fa32 system test: label pre-compressed test data as such
The system test 'gzipped js origin' needs files in the directory
  /mod_pagespeed_test/compressed/
to be served as pre-gzip encoded javascript.
2012-11-19 11:30:09 -05:00
Jeff Kaufman f22401af41 system test: /mod_pagespeed_test/no_cache/ needs to be cc:no-cache 2012-11-16 15:59:49 -05:00
Jeff Kaufman 459eefd872 configuration: implement configuration parsing
Where mod pagespeed has a configuration option `ModPagespeedFooBar` we now
support `pagespeed FooBar` and `pagespeed ModPagespeedFooBar`.
2012-11-14 15:13:01 -05:00
Jeff Kaufman aeb0de0e77 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";
2012-11-13 10:26:41 -05:00
Jeff Kaufman 88c429a1aa show grep output 2012-11-07 18:02:01 -05:00
Jeff Kaufman 9b1a28e251 we don't append a comment anymore 2012-11-07 17:59:49 -05:00
Jeff Kaufman 4aa7b1f3f2 describe how to run tests 2012-11-07 17:53:20 -05:00
Jeff Kaufman 63a911266a document debug logging 2012-10-26 09:33:29 -04:00
Jeff Kaufman 88deea49a4 word wrapping 2012-10-25 17:29:12 -04:00
Jeff Kaufman acbecf02da make it clearer this doesn't work yet. 2012-10-25 17:27:50 -04:00
Jeff Kaufman 96c5f33d29 missing paren 2012-10-25 17:10:53 -04:00
Jeff Kaufman b87fb1685d include link to current status on wiki 2012-10-25 16:59:25 -04:00
Jeff Kaufman be48f5d745 indicate you don't have to install mod_pagespeed, just build it 2012-10-22 14:50:18 -04:00
Jeff Kaufman 1766acbffb Support Blocking Rewrite Flow
Run all responses through PSOL's rewriter in a blocking manner. While eventually we need to be using the asynchronous rewriting interface, this is a simple proof of concept. In test/expected/test.html you can see the effect of running this code on test/www/test/html
2012-10-18 10:18:05 -04:00
Jeff Kaufman 692956e1cb Document that we need to build against trunk 2012-10-17 15:05:43 -04:00
Ilya Grigorik bc101a7105 fix google group link 2012-10-16 10:42:29 -07:00
Ilya Grigorik 4f793b3bd9 add link to project google group 2012-10-11 16:30:11 -07:00
Jeff Kaufman 19b9a328f8 be clearer in the readme that we're not yet working 2012-10-10 18:07:02 -04:00
Jeff Kaufman a88290173b Minor readme cleanup: word wrapping, fixing links 2012-10-10 18:05:11 -04:00
Ilya Grigorik bd8e56aeea update readme with goals and status 2012-10-09 15:24:58 -07:00
Jeff Kaufman fbec99cbaf actually link against pagespeed_automatic.a, and properly test we're doing so 2012-10-02 11:30:47 -04:00
Jeff Kaufman cff21ace3a Merged in changes from jefftk-experimental to:
- link in psol
 - manipulate the buffer chain to add a 'processed by us' comment
 - use chunked encoding to we don't have to update the headers when
   we change the length of the request
 - use c++ for the module
2012-10-01 14:43:23 -04:00
Ben Noordhuis 64a66cfb07 skeleton ngx_pagespeed module 2012-06-23 22:13:06 +02:00