[英]how to delete cached page in rails app deployed on heroku
I have an app deployed to heroku that was working correctly. 我有一个部署到heroku的应用程序正常运行。 I uploaded some changes about page caching (just testing!) and now it's always serving those pages, ignoring my requests to clear the cache (
Rails.cache.clear
) 我上传了一些有关页面缓存的更改(只是测试!),现在它一直在为那些页面提供服务,而忽略了我清除缓存的请求(
Rails.cache.clear
)
The cached pages are NOT created in public
nor tmp
so I don't know how to delete them or where they are... 缓存的页面不在
public
或tmp
创建,因此我不知道如何删除它们或它们在哪里...
我知道这听起来很琐碎,但是您是否进行了heroku重新启动并只是重新启动了应用程序?
最后,通过等待所需的时间让它们过期来解决...
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.