#ember-data caching json request

1 messages · Page 1 of 1 (latest)

unreal osprey
#

How does ember-data caching work ? I was under the assumption that calls we're cached after the first request. I'm sending the same request payload and it's going to the server every time. How do I fix it, or is that not how ember-data works.

wispy river
#

hey interesting question, are you saying you are doing POST/PATCH/PUT request to your server and you want it to be cached?
If so - this is never cached, only GET requests are cached by EmberData, if configured in adapter / cachePolicy