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

Language and Cache #1044

Open
Daveiano opened this issue Oct 23, 2018 · 0 comments
Open

Language and Cache #1044

Daveiano opened this issue Oct 23, 2018 · 0 comments

Comments

@Daveiano
Copy link

Daveiano commented Oct 23, 2018

I have written a Node Resource in current 7.x-2.0 module. My content is available in two different languages, so I need to filter based on language.

If I disable the render cache, everything works fine. But with the cache enabled the first requested result gets delivered for every language on next calls.

Steps to reproduce:

Then both calls (http:https://xxx.localhost/en/restapi/v2.0/project and http:https://xxx.localhost/de/restapi/v2.0/project) return the same result with English from the cache.

Any hints for this?

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