ngx-jsonapi icon indicating copy to clipboard operation
ngx-jsonapi copied to clipboard

Is there a way to disable all caching in v2.2.3? The old methods don't seem to work anymore

Open snstarosciak opened this issue 4 years ago • 0 comments

After reviewing some of the older issues, I've tried adding this code to my root node

NgxJsonapiModule.forRoot({
            url: environment.api + '/v2/',
            cache_prerequests: false,
            cachestore_support: false
        }),

The problem is that now I get an error: Object literal may only specify known properties, and 'cachestore_support' does not exist in type 'JsonapiConfig'. ^ This makes sense because there is no longer a reference to cachestore_support anywhere in the code. Is there a way inside of the config or elsewhere to disable all caching?

snstarosciak avatar Aug 22 '21 20:08 snstarosciak