I am pretty sure it does, but I wanted to double check, since I don’t know exactly how Passenger restarts a rails app. So if I have something like:
Rails.cache.fetch(:my_obj) { MyObj.first }
will all the cache be cleared upon restart (which is my hope)?
If you are using MemoryStore then yes, this cache will disappear when Passenger restarts.
Also, a quote from the API: