Why not use the `NGX_HTTP_ACCESS_PHASE`? You may break the access module. 

My original idea of this problem was just move this pagepseed fetch content_handler to the last handler of the access_phase.  And we don't need modify any of the code in the handler itself.