有计划在Clear Cache中包含一个方法吗? [英] Any plans to include a method to Clear Cache?

查看:73
本文介绍了有计划在Clear Cache中包含一个方法吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的外部网站使用了非常好的4服务器AppFabric缓存群集。

We have a very nice 4 server AppFabric Cache Cluster used by our external website.

我们的服务层现在也对AppFabric缓存感兴趣。 我们建议他们共享缓存群集,但他们都担心一个群体的实施会影响另一个群体。 这是真的.... 当我们部署到
网站时,我们确实必须刷新缓存。

Our services tier is now interested in AppFabric caching as well.  We suggested that they share the Cache cluster, but they both are concerned that implimentations by one group will effect the other.  Which is true....  When we deploy to the website, we do indeed have to refresh the cache.

我们通过停止缓存集群并重新启动它来实现此目的。

We do this by stopping the cache cluster and restarting it.

这个unfortunatley杀死了所有的缓存。

This unfortunatley kills all of the cache.

虽然在我看来,更大的问题是如果服务层想要重置缓存,它们会杀死会话和许多其他Web前端的功能....

Although in my mind the bigger concern is that if the services tier wanted to reset the cache, they would kill sessions and lots of other functionality on the web front end....

推荐答案

这可能有点乱,但你可以使用Remove-Cache命令来刷新它,Add-Cache命令重新创建它。
It may be a bit of a hack, but you could use the Remove-Cache command to flush it, and the Add-Cache command recreate it.


这篇关于有计划在Clear Cache中包含一个方法吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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