prototype(Newland.Toubiz.Poi.Neos:Plugin) < prototype(Newland.NeosCommon:Plugin) {
    package = 'Newland.Toubiz.Poi.Neos'
    controller = 'PointOfInterests'

    @cache {
        mode = 'dynamic'
        maximumLifetime = 0

        entryDiscriminator = ${String.toString(request.httpRequest.uri)}

        entryIdentifier {
            requestUri = ${String.toString(request.httpRequest.uri)}
            node = ${node}
        }

        // Clear this cache item when node or subnode changes
        entryTags {
            1 = ${Neos.Caching.nodeTag(node)}
            2 = ${Neos.Caching.descendantOfTag(node)}
            3 = 'article'
        }
    }
}
