External resources are cacheable

2022.09-rc
Michael 2021-06-28 13:09:00 +00:00
rodzic 4f95622d73
commit a1a584f444
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

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