We recently upgraded to Sitecore 9 and noticed that our PDF links are now downloading rather than opening in a new tab. I have tried changing the forceDownload in the the Sitecore.config to false, and I also uncommented the PDF line in the mime config file. My changes are being reflected in the show config, but the PDF is still being downloaded. Does anyone have any ideas why this would be the case?
-
What do you mean with "uploading"? I cannot imagine that you had a site that uploaded a pdf file by clicking a link...– GatogordoMar 20, 2020 at 15:23
-
1The Sitecore media cache is stored on disk and is valid for 90 days. If anyone has recently accessed these media items, they will not reflect the config changes. Delete the MediaCache folder in the Website directory.– x3mxrayMar 20, 2020 at 16:44
-
Sorry I meant to say rather than opening a new tab. I was really tired when I posted this question.– Olivia ShettlesMar 20, 2020 at 18:33
-
1Can you confirm that the same issue happens on more than one desktop browser? apemobile.zendesk.com/hc/en-us/articles/…– Michael WestMar 20, 2020 at 18:47
-
1Okay, so I have figured something out. The two settings did work, but those files are being cached in people's browsers. We have solved the problem by change the file name or adding a url parameter. Thanks for the help everyone.– Olivia ShettlesMar 23, 2020 at 21:48
|
Show 2 more comments