Teams. Link Unfurling Cach ... How Can generate new card for each request?

Occasional Contributor

Hi,

I found that the first request to Link Unfurling functionality calls OnTeamsAppBasedLinkQueryAsync handler but the next one doesn't ... So ... Maybe there is any cach ...

Could someone explain the behaviour? How can I switsh off the cach or refresh it?

4 Replies
Could you please provide more details ? Please share the sample code you are referring to as well, so that we can repro it at our end.

@Prasad_Das-MSFT 

Link unfurling: https://linkunfurlingsite.com/item/index?id=4

If I insert (into compose box) the link the card will generate (handler called) once.

@Paul_By 
We are able to repro the issue. We are checking it internally and will get back to you once we get any update.


Thanks,
 

Prasad Das

------------------------------------------------------------------------------------------------------------------------ 

If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link. Click here to escalate. 

The link unfurling result is cached for 30 minutes. There doesn't seems to be any way to switch off the cache.