Heroku Force Clear 清漆缓存
是否可以强制 Heroku 从应用程序内清除 Varnish 缓存(即不推送新存储库)?
Is it possible to force Heroku to clear out the Varnish cache from within an application (i.e. without pushing a new repository)?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尽管此 Heroku 邮件列表消息已有一年了,但我还没有没有发现任何与之相矛盾的东西。
我怀疑这已经改变了。由于 Varnish 是在 Rails 应用程序的上下文之外运行的,因此可能没有
Varnish
类或类似的东西,因此没有方法可以清除缓存。看起来你只能靠自己了。Though this Heroku mailing list message is a year old, I haven't found anything to contradict it.
I doubt this has changed. Since Varnish is run outside the context of the Rails app, there probably isn't a
Varnish
class or anything like that, so no method that would purge the cache. Looks like you're on your own.