feat: preload adjacent media in streams
This commit is contained in:
@@ -6,5 +6,6 @@ export function useDownloadUrl(objectId?: string) {
|
||||
queryKey: ["download-url", objectId],
|
||||
queryFn: () => apiClient.getParticleDownloadUrl(objectId!),
|
||||
enabled: !!objectId,
|
||||
staleTime: 1000 * 60 * 60, // 1 hour — signed URLs valid for 24h
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user