diff --git a/packages/strapi-plugin-upload/admin/src/components/EditForm/index.js b/packages/strapi-plugin-upload/admin/src/components/EditForm/index.js index f32e731d6e..e0a2b50b71 100644 --- a/packages/strapi-plugin-upload/admin/src/components/EditForm/index.js +++ b/packages/strapi-plugin-upload/admin/src/components/EditForm/index.js @@ -58,7 +58,9 @@ const EditForm = forwardRef( const cacheRef = useRef(performance.now()); const fileURL = get(fileToEdit, ['file', 'url'], null); - const prefixedFileURL = fileURL ? prefixFileUrlWithBackendUrl(fileURL) : null; + const prefixedFileURL = fileURL + ? prefixFileUrlWithBackendUrl(`${fileURL}?${cacheRef.current}`) + : null; const downloadFileName = createFileToDownloadName(fileToEdit); const mimeType = get(fileToEdit, ['file', 'type'], null) || get(fileToEdit, ['file', 'mime'], ''); @@ -284,7 +286,7 @@ const EditForm = forwardRef( {isImg ? ( {get(fileToEdit,