question

LalithaPoluri-1569 avatar image
0 Votes"
LalithaPoluri-1569 asked LalithaPoluri-1569 edited

Why my sharepoint web part is loading the css and js files from previously saved cache

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 ?

office-sharepoint-online
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

MichaelHan-MSFT avatar image
0 Votes"
MichaelHan-MSFT answered LalithaPoluri-1569 edited

Hi @LalithaPoluri-1569,

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.

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @LalithaPoluri-1569,

Is there anything update? If my reply helps you, you could accept it as answer :)

0 Votes 0 ·

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.

0 Votes 0 ·