How to clear the cache of LinkedIn sharer manually

前端 未结 7 1234
挽巷
挽巷 2021-01-17 13:59

At using share function via LinkedIn API, one and the same picture is transfered for each page of the website http://hrm.mysitedemo.co.uk
The picture is cached on the s

7条回答
  •  余生分开走
    2021-01-17 14:39

    Content shared via LinkedIn is cached by LinkedIn's servers for a period of ~7 days. There is presently no way to manually clear the cache other than waiting for it to expire.

    One possible short-term work-around is to modify your URL with a "garbage" parameter at the end of it, e.g. http://example.com/mypage.html?donothing=1

    Provided your site does not change the content displayed based on the parameter you append, LinkedIn will see that as a different URL and you won't get the old cached version.

提交回复
热议问题