Sep 21 2017 08:30 PM - edited Sep 21 2017 11:38 PM
Hi,
How do we force update files (js) in publiccdn?
This article said that we have to wait 15 minutes to 1 hour to see the updated assets: https://dev.office.com/blogs/general-availability-of-office-365-cdn
However, I have waited for several hours, but it still loads the old one.
Is there any way to force refresh the publiccdn? or any workarounds to make it loads the new one?
update:
Maybe this is because I update the files by replacing (delete and than reupload) the whole folder with the new one. It's programmatically replaced by a SharePoint add-ins.
Then somehow the publiccdn doesn't see that as an update to the file.
Thanks
Sep 21 2017 11:01 PM
Sep 21 2017 11:44 PM
It's some javascript files loaded in a SharePoint page.
I've cleared all the local cache and tried using another browser.
Everyone having the problem.
I've added some information in the initial post, maybe it helps to describe the situation.
Sep 22 2017 02:09 AM
Hi Ari, I'm facing the same issue, almost one day since I've updated the file and it's not updated in the CDN yet. Did you find out why was it? Removing a creating the file again did the trick?
Thanks!
Sep 22 2017 02:36 AM
Sep 25 2017 02:07 AM - edited Sep 25 2017 02:08 AM
I found out the issue, I had disabled the force checkout in the library feature, but the js files were created as a minor version, I just had to publish them to have them available in 15 min in the CDN.