commit | 1964ef5219cc6585ced45662e38dce09dde518df | [log] [tgz] |
---|---|---|
author | Otto van der Schaaf <oschaaf@we-amp.com> | Thu Dec 24 22:53:50 2015 +0100 |
committer | Otto van der Schaaf <oschaaf@we-amp.com> | Mon Dec 28 15:59:13 2015 +0100 |
tree | 4fb95d86d65a8b6e878836c432c63c682fae1f4e | |
parent | 56a5d41ec3744ca4f7af1c72fd5e087ce0db064c [diff] |
Fix crasher on 404 .pagespeed. resources w/a custom location - Fix nginx-side flow so we handle .pagespeed. resources ok when they will land on a customized 404 internal location. - Additionally, check for a wiped request context and make sure we do not dereference a null pointer, which is what hurt in the flow we entered above as the IPRO lookup still was generating events while the nginx side request context was gone. - Also, as a preliminary measure, do not check fail when we receive a stale event originating from a NgxBaseFetch that is no longer associated with our request context. Do log a warning so we'll hear about this happening either through system test failures or a bug report. Fixes https://github.com/pagespeed/ngx_pagespeed/issues/1081
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:
To see ngx_pagespeed in action, with example pages for each of the optimizations, see our demonstration site.
Follow the steps on build ngx_pagespeed from source.
Follow the steps on PageSpeed configuration.
For feedback, questions, and to follow the progress of the project: