]> git.mxchange.org Git - friendica.git/commitdiff
External resources are cacheable
authorMichael <heluecht@pirati.ca>
Mon, 28 Jun 2021 13:09:00 +0000 (13:09 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 28 Jun 2021 13:09:00 +0000 (13:09 +0000)
src/Model/Photo.php

index 40bdcf71e3451bf2ba0e67fbbc6900c1cabb38e6..7de0084e2443dcdd490f8cdafdc2f82122378a1c 100644 (file)
@@ -283,7 +283,7 @@ class Photo
                $photo['backend-class'] = ExternalResource::NAME;
                $photo['backend-ref']   = json_encode(['url' => $url, 'uid' => $uid]);
                $photo['type']          = $mimetype;
-               $photo['cacheable']     = false;
+               $photo['cacheable']     = true;
 
                return $photo;
        }