External resources are cacheable
This commit is contained in:
parent
4f95622d73
commit
a1a584f444
1 changed files with 1 additions and 1 deletions
|
@ -283,7 +283,7 @@ class Photo
|
||||||
$photo['backend-class'] = ExternalResource::NAME;
|
$photo['backend-class'] = ExternalResource::NAME;
|
||||||
$photo['backend-ref'] = json_encode(['url' => $url, 'uid' => $uid]);
|
$photo['backend-ref'] = json_encode(['url' => $url, 'uid' => $uid]);
|
||||||
$photo['type'] = $mimetype;
|
$photo['type'] = $mimetype;
|
||||||
$photo['cacheable'] = false;
|
$photo['cacheable'] = true;
|
||||||
|
|
||||||
return $photo;
|
return $photo;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue