Skip to content

Language and Cache  #1044

@Daveiano

Description

@Daveiano

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions