简体   繁体   English

如何删除部署在heroku上的Rails应用程序中的缓存页面

[英]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... 缓存的页面不在publictmp创建,因此我不知道如何删除它们或它们在哪里...

我知道这听起来很琐碎,但是您是否进行了heroku重新启动并只是重新启动了应用程序?

最后,通过等待所需的时间让它们过期来解决...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将Rails应用程序部署到Heroku无法正常工作 - Deployed rails app to Heroku not working 可以在不使用Heroku Toolbelt的情况下部署Rails应用程序吗? 如果是这样,怎么样? - Can a Rails app be deployed without using Heroku Toolbelt? If so, how? 如何使用git复制rails app并部署到heroku - How to copy rails app using git and deployed to heroku 如何让rufus-scheduler使用部署到Heroku的Rails应用程序? - How to get rufus-scheduler working with a Rails app deployed to Heroku? 如何让用户在Heroku上部署的Rails应用程序中创建计划任务 - How to have users create scheduled tasks in rails app deployed on Heroku 如何防止滥用抓取工具抓取部署在Heroku上的rails应用程序? - How to prevent abusive crawlers from crawling a rails app deployed on Heroku? 如何将部署的 rails 应用程序连接到现有的 Heroku 数据库 - How connect deployed rails app to exist Heroku database 将Scaffold rails应用程序部署到Heroku。 “ heroku打开”显示“您要查找的页面不存在” - Deployed Scaffold rails app to Heroku. “heroku open” gives “page you were looking for doesn't exist” Ruby on Rails应用程序已部署到heroku,但是应用程序出错? - Ruby on Rails app deployed to heroku but Application error? Rails应用程序在本地运行,但在部署到Heroku时则不行 - Rails app works locally but not when deployed to Heroku
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM