diff vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php @ 16:c2387f117808

Routine composer update
author Chris Cannam
date Tue, 10 Jul 2018 15:07:59 +0100
parents 7a779792577d
children 129ea1e6d783
line wrap: on
line diff
--- a/vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php	Thu Apr 26 11:26:54 2018 +0100
+++ b/vendor/symfony/http-kernel/HttpCache/ResponseCacheStrategy.php	Tue Jul 10 15:07:59 2018 +0100
@@ -72,7 +72,7 @@
             $response->setLastModified(null);
         }
 
-        if (!$response->isFresh()) {
+        if (!$response->isFresh() || !$response->isCacheable()) {
             $this->cacheable = false;
         }