在网络应用程序背后命中实例 [英] Hitting Instances behind a web-app
问题描述
如果我希望向Web应用程序后面的每个服务器发送消息(因为我需要强行从缓存中删除某些内容),有没有简便的方法?
If I wish to send a message to each server behind a web-app (as I need to force remove something from a cache), is there an easy way of doing it?
我们已经做出了一个假设(我知道这是错误的举动),现在缓存的数据永远都不需要更改.
We had made an assumption (bad move I know) that a piece of data we'd cached would never need changing, now it does..
迈克
推荐答案
迈克,
这是否取决于数据的缓存方式?我的猜测是您正在使用内存缓存,但我不确定.也许您可以提供更多信息:).
Doesn't this depends on how the data is cached? My guess is that you are using memory cache, but I don't know for sure. Maybe you can provide some more information :).
使缓存无效的最简单方法是重新启动Web应用程序.有时更新应用程序设置会触发刷新,并可能使缓存无效...
The most easy way for invalidating cache is restarting the web app. Sometimes updating the app settings can trigger a refresh and maybe invalidate the cache...
亲切的问候.
这篇关于在网络应用程序背后命中实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!