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.
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://xxx.localhost/en/restapi/v2.0/project and http://xxx.localhost/de/restapi/v2.0/project) return the same result with English from the cache.
Any hints for this?