External resources are cacheable

This commit is contained in:
Michael 2021-06-28 13:09:00 +00:00
parent 4f95622d73
commit a1a584f444
1 changed files with 1 additions and 1 deletions

View 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;
}