Issue Bug Closed

#51588TCEMAIN.clearCacheCmd = cacheTag doesn't work

Zbigniew Jacko 08/30/13, 16:07 updated 10/02/18, 12:10

Description

I have cached menu

lib.navigation.sub {
    cache.key = firstTag_{TSFE:sys_language_uid}
    cache.key.insertData = 1
    cache.lifetime = default
    cache.tags = firstTag
}

and settings in TSCONFIG

    TCEMAIN.clearCacheCmd = cacheTag:firstTag

This isn’t working properly, because menu is cached in cf_cache_hash but cache for tags is cleared only in cf_cache_pages and cf_cache_pagesection. I attach a patch.

Reviews 3