jmarantz commented on issue #1657: ngx_pagespeed breaks updating WP by caching POST requests URL: https://github.com/apache/incubator-pagespeed-ngx/issues/1657#issuecomment-506975481 I may not be remembering the details well, but I think PageSpeed might not realize the response is from a POST request, but it sees cache-control:max-age=900 and content-type:json and tries to optimize it in-place. Actually I'm not even remembering if PageSpeed tries to use its javascript-minification code to shrink JSON or not, or if that's fully legal, but I'm just throwing out theories. And I haven't looked at your output enough to know what exactly is breaking there, but I would definitely recommend that your origin POST handlers avoid sending cache-control:max-age=900. They should probably send cache-control:nostore.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
