We have 2 sharepoint sites, one for Demo and one for Pre-Prod. When we load the pre-prod site, the css and js are loading the Demo site's files if the site is open on a different tab. How do we resolve this issue ?
We have 2 sharepoint sites, one for Demo and one for Pre-Prod. When we load the pre-prod site, the css and js are loading the Demo site's files if the site is open on a different tab. How do we resolve this issue ?
That's object cache with SharePoint Online, you could refer to this artilce for more: https://docs.microsoft.com/en-us/microsoft-365/enterprise/using-the-object-cache-with-sharepoint-online?view=o365-worldwide
The same issue has been asked here: https://answers.microsoft.com/en-us/msoffice/forum/msoffice_sharepoint-mso_win10-mso_o365b/sharepoint-online-server-cache/dcaedc43-116b-470e-9617-4f6e1a5ad432
If an Answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Is there anything update? If my reply helps you, you could accept it as answer :)
Hi @MichaelHan-MSFT, We have already implemented the CDN approach. Our site loads fine after doing an empty cache and hard reload. when opened on a separate browser it works fine. But when dev and pre-prod are opened side by side in 2 different tabs, dev loads the pre-prod files or vice versa.
4 people are following this question.