如何手动清除LinkedIn共享程序的缓存 [英] How to clear the cache of LinkedIn sharer manually

查看:164
本文介绍了如何手动清除LinkedIn共享程序的缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通过LinkedIn API使用共享功能时,网站的每个页面都将传送一张相同的图片 http://hrm.mysitedemo.co.uk
图片已缓存在服务器上. 服务器上此图片的地址为:链接
您能告诉我们如何手动清除缓存吗?

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 server. The address of this picture on server is: link
Address that leads to share dialog window is : link
Could you please tell how to to clear the cache manually?

推荐答案

通过LinkedIn共享的内容由LinkedIn的服务器缓存了大约7天.除了等待缓存过期之外,目前没有其他方法可以手动清除缓存.

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.

一种可能的短期解决方法是,在网址末尾添加一个垃圾"参数,例如 http://example.com/mypage.html?donothing=1

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

如果您的网站不会根据您添加的参数更改显示的内容,LinkedIn将看到它是一个不同的URL,并且您不会获得旧的缓存版本.

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.

这篇关于如何手动清除LinkedIn共享程序的缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆