简体   繁体   中英

how to cache feedzirra heroku

知道如何在heroku上缓存feedzirra rss吗?

If you're running on the cedar stack you have access to the disk and can cache there, but your cache will be destroyed if your app is restarted and on each deployment (that may or may not be desirable depending on your setup). If you're running more than one dyno, it may also mean you end up with difference caches on each dyno.

The other alternative is to store the results yourself into some shared persistance. That can be one of the free database options, redis, or memcache. Check https://addons.heroku.com/ to see a list of the ones that are available.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM