a8141eadd3e22a66fcbc5dacecf97b9669c3a5ef
This change adds a flag to optionally position the module at HTTP_AUX_FILTER_MODULES instead of just in front of the gzip module. Doing so allows header module(s) to fully manipulate any response headers before they are send to the user-agent. With https://github.com/pagespeed/ngx_pagespeed/pull/880, SSI no longer hangs, and other modules using subrequests should not do so either. SSI subrequests are not optimized when ngx_pagespeed runs at HTTP_AUX_FILTER_MODULES, so the test for it is added to the expected failures when the tests are run for this module position. To build with the module respositioned: POSITION_AUX=true ./configure ...... The same variable can be set before running the system tests, in which case it will perform additional header tests and add the SSI test to the expected failures.
ngx_pagespeed speeds up your site and reduces page load time by automatically applying web performance best practices to pages and associated assets (CSS, JavaScript, images) without requiring you to modify your existing content or workflow. Features include:
- Image optimization: stripping meta-data, dynamic resizing, recompression
- CSS & JavaScript minification, concatenation, inlining, and outlining
- Small resource inlining
- Deferring image and JavaScript loading
- HTML rewriting
- Cache lifetime extension
- and more
To see ngx_pagespeed in action, with example pages for each of the optimizations, see our demonstration site.
How to build
Follow the steps on build ngx_pagespeed from source.
How to use
Follow the steps on PageSpeed configuration.
For feedback, questions, and to follow the progress of the project:
Description
Languages
C++
69.6%
Shell
22.6%
Dockerfile
7.5%
Makefile
0.3%
