OfficeDev / teams-toolkit

Developer tools for building Teams apps
Other
433 stars 171 forks source link

Reload caché in Microsoft Teams Tab #11913

Open Hector-Mina-98 opened 6 days ago

Hector-Mina-98 commented 6 days ago

Describe the bug In MS Teams for Windows I am trying to refresh my Tab (which loads an html page). From the server I am sending the following headers:

Cache-Control: no-cache, no-store, must-revalidate
Expires: 0
Pragma: no-cache

But still, the page within the Teams Tab is not updated. Currently the only possible way I have found is by deleting this directory: %appdata%/../Local/Packages/MSTeams_8wekyb3d8bbwe/LocalCache

But it is a very complex solution for users.

Is there any other option to reload the cache? Any header, for example? Since that's how it should work.

microsoft-github-policy-service[bot] commented 6 days ago

Thank you for contacting us! Any issue or feedback from you is quite important to us. We will do our best to fully respond to your issue as soon as possible. Sometimes additional investigations may be needed, we will usually get back to you within 2 days by adding comments to this issue. Please stay tuned.

Wajeed-msft commented 2 days ago

This issue has been copied over to Microsoft Teams repo here: https://github.com/MicrosoftDocs/msteams-docs/issues/11181