Closed a-radys closed 5 years ago
I tried to do the opposite from this issue: https://github.com/reyesoft/ngx-jsonapi/issues/130 and changed false to true like this:
false
true
NgxJsonapiModule.forRoot({ url: '/', cache_prerequests: true, cachestore_support: true })
but all the http requests are sent every time, like the cache is not working. Should I set something more?
Hi aradys, have you set ttl in the resources that are not being cached?
ttl
Setting ttl solved the problem, thanks!
I tried to do the opposite from this issue: https://github.com/reyesoft/ngx-jsonapi/issues/130 and changed
false
totrue
like this:but all the http requests are sent every time, like the cache is not working. Should I set something more?