清理办公室加载项缓存 [英] Cleaning office add-in cache

查看:25
本文介绍了清理办公室加载项缓存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经与自耕农接管了以前编写的办公室插件.我一直在更改设置,但在初始安装后查看它已经走了多远,我相信我的 Outlook 客户端存储了某种缓存.当我尝试安装更新版本时,它仍然保留了以前版本的徽标和设置,但是当将其安装在没有以前版本的系统上时,一切都很好.

I have taken over a previously written office add-in with yeoman. I have been changing settings and else but after the initial install to see how far it has gone I believe my outlook client has stored some kind of cache. When I try to install the updated version it still holds the logos and settings for the previous version but when install it on a system which did not have a previous version of it its all good.

任何建议都有帮助.我尝试删除我的本地配置文件并通过重新启动 Outlook 重新创建它,但这似乎对整个过程没有影响.

Any suggestions help. I have tried deleting my local profile file and recreate it by relaunching outlook but that does not seem to have effect on the whole process.

谢谢

我说的是 Outlook 独立客户端.

I am talking about the Outlook standalone client.

推荐答案

Outlook Desktop for Windows 加载项在 IE Web 浏览器控件的 iFrame 中运行.要清理加载项打开 IE 浏览器的缓存,请转到设置并删除缓存.重新启动您的加载项,它应该和新的一样好.

Outlook Desktop for Windows add-in runs in iFrame of IE Web browser control. To clean up the cache of the add-in open IE browser, go to settings and remove cache. Re-launch your add-in and it should be as good as new.

Outlook for web 用户可以在支持的浏览器下运行.在这种情况下,请转到所用网络浏览器的设置并删除该浏览器的缓存.

Outlook for web user may run under supported browsers. In this case go to settings of the web browser used and remove the cache of this browser.

Outlook Desktop for Mac 加载项在某种类型的 Web 浏览器控件(内置于 Office 2016 for Mac)下运行,如何在此处删除缓存对我来说仍然是一个难题.

Outlook Desktop for Mac add-in runs under some kind of variation of web browser control (built in with Office 2016 for Mac) and how to remove cache over here is still puzzle for me.

如果您的应用程序使用 RoamingSettings 对象,请查看您是否saveAsync 任何自定义属性,并根据需要使用以下 saveAsync 删除它们.

If your application uses RoamingSettings object, take a look if you saveAsync any custom properties and remove them as you need with following saveAsync.

当然,上述方法仅供您/QA/dev 使用.对于您的客户,作为开发人员,您必须在发布新版本时处理已更改文件的缓存.由于您的加载项与网站无关,因此请使用网络技术重新刷新浏览器的缓存.有很多方法可以实现这一目标.例如,您可以更改新版本的文件位置...

Of cause the described methods above are for your/QA/dev use only. For your customers you, as developer, has to take care of the cache for the files you have changed, when posting new release. As your add-in is nothing else as website, use web technology to re-fresh cache of the browser. There are many ways to achieve that. For example you may change location of the files for new release ...

<script src="/v1.0/Commands.js" type="text/javascript"></script>
<script src="/v1.1/Commands.js" type="text/javascript"></script>

或者在源文件中添加一些随机参数...

or add some random parameter to the sources file ...

<script src="Commands.js?version=a56b34a87" type="text/javascript"></script>

等等.这些简单的方法将强制浏览器重新加载文件内容.

and so on. Those simple methods will force browser to reload the file content.

这篇关于清理办公室加载项缓存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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