Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
snstarosciak opened this issue Aug 22, 2021 · 0 comments

Comments

@snstarosciak
Copy link

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 snstarosciak changed the title Is there a way to disable all caching in 2.2.3? The old methods don't seem to work anymore Is there a way to disable all caching in v2.2.3? The old methods don't seem to work anymore Aug 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant