Apparently the Httparty::Response
object returned by Httparty.get
is not serializable, which is required to be cached. Try just caching the part of the response that you need, e.g.
response = self.class.get("http://www.myappname.net/pages/my_footer.json")
response['footer'] if response
The issue is described here.