stable
Clone or download
Read-only
Closes request #31158: Do not let browser heuristics decide which REST calls should be cached
We now make sure that requests without an explicit Cache-Control header are not cached. To test, do not forget to redeploy nginx configurations. Change-Id: I5b2c0ff13dd4f625ed651b7dd95a62d5139a59af
Modified Files
Name | ||||
---|---|---|---|---|
M | src/common/REST/RestlerFactory.php | +3 | −2 | Go to diff View file |
M | src/common/include/Response.class.php | +1 | −1 | Go to diff View file |
M | src/embedded_vendor/jpgraph/gd_image.inc.php | +1 | −1 | Go to diff View file |
M | src/etc/nginx/tuleap-managed-global-settings.conf | +4 | −0 | Go to diff View file |
A | src/etc/nginx/tuleap.d/09-cache-control.conf | +4 | −0 | Go to diff View file |
M | src/www/include/pre.php | +0 | −4 | Go to diff View file |