intridea/grape — Issue #132: Grape Caching on Heroku
Author: simb
Created: 2012-02-02 18:21:42+00:00
State: open

I am not sure where to actually ask this question so an "issue" it becomes.

I am using Grape to create an api for an application that has been deployed to heroku. I am using a scoped query to return results for a resource.

When the resource is updated via the admin, the requests at the api do not change. The headers imply no caching should be used by the browser, but requests to the api do not update the data.

I end up having to restart the heroku server to get the changes to be visible via the api.

Is Grape intentionally caching and is there a way I can tell it to not? I scanned the docs but i didn't see any mention of caching.

Thanks,